Kofax DM API Uživatelský manuál Strana 160

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 528
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 159
140 CHAPTER 4
AddReturnProperty
AddReturnProperty
Use this method to add a property to the list of objects that you want a
search to return to you. No data is returned by default. Your search will
return no data unless you call AddReturnProperty at least one time
before you execute your search.
Syntax
PCDRecentDoc.AddReturnProperty( strPropName )
PCDSearch.AddReturnPropery( strPropName )
Parameter
Returns
Returns an HRESULT to receive the result of the call. S_OK indicates
success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.
Example
The following example shows how to add return properties as part of
the execution of a search.
.
.
.
'Save the document security token (DST) from the
'DM Server so the search will execute
'properly.
strDST = pClient.GetDST()
'Create the search object.
pSearch = Server.CreateObject( _
"PCDClient.PCDSearch")
'Pass the DST to the search object.
strPropName The name of the property to be returned in the
results.
Zobrazit stránku 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 527 528

Komentáře k této Příručce

Žádné komentáře