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


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

Syntax

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

Parameters

bsValueSubString
Text to search for

Return Value

IEdmPos5; position of the first key-value pair in the search result

Example

Remarks

After calling this method, call IEdmDictionary5::StringGetNextAssoc 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