SOLIDWORKS PDM Professional API Help Send Feedback
LongFindValues Method (IEdmDictionary5)
See Also  Example
EPDM.Interop.epdm Namespace > IEdmDictionary5 Interface : LongFindValues Method (IEdmDictionary5)


bsValueSubString
Text to search for
Starts an enumeration of all of the key-value pairs that have integer keys whose values contain the specified text.

Syntax

Visual Basic 
Function LongFindValues( _
   ByVal bsValueSubString As System.String _
) As IEdmPos5
C# 
IEdmPos5 LongFindValues( 
   System.string bsValueSubString
)
C++/CLI 
IEdmPos5^ LongFindValues( 
&   System.String^ bsValueSubString
) 

Parameters

bsValueSubString
Text to search for

Return Value

IEdmPos5; position of the first key in the search result

Example

Remarks

After calling this method, call IEdmDictionary5::LongGetNextAssoc repeatedly to enumerate the rest of the key-value pairs in the search result.

C++ programmers not using smart-pointer wrapper functions must release the returned pointer to IEdmPos5.

Return codes:

  • S_OK: The method successfully executed.
  • S_FALSE: One of the arguments is invalid.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2