SOLIDWORKS PDM Professional API Help Send Feedback
State Property (IEdmSearch5)
See Also 
EPDM.Interop.epdm Namespace > IEdmSearch5 Interface : State Property (IEdmSearch5)


Gets or sets the ID or name of the workflow state in which to search.

Syntax

Visual Basic 
Property State As System.Object
C# 
System.object State {get; set;}
C++/CLI 
property System.Object^ State {
   System.Object^ get();
   void set ( &   System.Object^ value);
}

Property Value

ID or name of the workflow state in which to search

Remarks

If the search object was obtained using:

  • IEdmVault5::CreateSearch, then the workflow state name for which to search may contain a % wildcard character. For example, test searches for all files that have a workflow state that contains the word, test.

    % indicates any sequence of characters of any length. You can also use underscore (_) as a wildcard for exactly one arbitrary character.

    To search for strings containing the actual characters '%' and '_', enclose them in brackets [...]:

    my[_]text[%]file.txt

    You can also enclose the entire string in brackets, because no wildcards occur in it:

    [my_text%file.txt]

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2