<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
VersionComment Property (IEdmSearch5)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmSearch5 Interface : VersionComment Property (IEdmSearch5)

Visual Basic
C#
C++/CLI
Gets or sets the version comment substring for which to search.

# Syntax

Visual Basic |
--- | ---

    Property VersionComment As System.String

C# |
--- | ---

    System.string VersionComment {get; set;}

C++/CLI |
--- | ---

    property System.String^ VersionComment {
       System.String^ get();
       void set ( &   System.String^ value);
    }

#### Property Value

Substring of version comment for which to search (see Remarks)

# Remarks

If the search object was obtained using:

- IEdmVault21::CreateSearch2 (IEdmSearch9), then the version comment may require extended search syntax. (See Search Syntax.)

- IEdmVault5::CreateSearch, then the substring for which to search may contain a % wildcard character. For example, test searches for all files that have a version comment 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

####

IEdmSearch5 Interface
IEdmSearch5 Members

# Availability

SOLIDWORKS PDM Professional Version 5.2