Kofax DM API Bedienungsanleitung Seite 417

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 528
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 416
DM API TOKENS 397
%HAS_SUBFOLDERS
%HAS_SUBFOLDERS
This token is used if a folder has subfolders.
Syntax
PCDPropertyLists.GetPropertyValue( _
“%HAS_SUBFOLDERS”)
Parameters
Usage
If the current folder has subfolders of its own, the %HAS_SUBFOLDERS
token returns the value of “Y”.
Example
'Create a property list object.
Set PropLists = CreateObject("PCDClient.PCDPropertyLists")
'Set the DM security token.
PropLists.SetDST(strDST)
'Set the search type.
PropLists.SetObjectType("ContentsCollection")
'Execute the search.
PropLists.Execute()
'Initialize the row pointer.
PropLists.SetRow(0)
'Check results.
while ( PropLists.NextRow())
hasSubFolder = PropLists.GetPropertyValue("%HAS_SUBFOLDERS")
If( hasSubFolder ) Then
MsgBox( “This property list object has subfolders.”)
Else
MsgBox(“This property list object has no subfolders.”)
End If
PropLists.NextRow
%HAS_SUBFOLDERS The token that identifies whether or not
the current folder has subfolders within
it.
Seitenansicht 416
1 2 ... 412 413 414 415 416 417 418 419 420 421 422 ... 527 528

Kommentare zu diesen Handbüchern

Keine Kommentare