| Visual Basic | |
|---|---|
Property FileName As System.String | |
| C# | |
|---|---|
System.string FileName {get; set;} | |
| C++/CLI | |
|---|---|
property System.String^ FileName {
System.String^ get();
void set ( & System.String^ value);
} | |
Property Value
Name of file or folder for which to search (see Remarks)See the IEdmSearch9 examples.
If the search object was obtained using:
- IEdmVault21::CreateSearch2 (IEdmSearch9), then the name may require extended search syntax. (See Search Syntax.)
- IEdmVault5::CreateSearch, then the name may contain a % wildcard character. For example, %.txt searches for all text files.
% 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, if no wildcards exist in it:
[my_text%file.txt]
SOLIDWORKS PDM Professional Version 5.2