Partager via


IFsrmFileGroup.Members Property

 

Retrieves or sets the filename patterns that determine the files that are included in the file group.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

IFsrmMutableCollection Members { get; set; }
property IFsrmMutableCollection^ Members {
    IFsrmMutableCollection^ get();
    void set(IFsrmMutableCollection^ value);
}
abstract Members : IFsrmMutableCollection with get, set
Property Members As IFsrmMutableCollection

Property Value

Type: Microsoft.Storage.IFsrmMutableCollection

A IFsrmMutableCollection containing a collection of filename patterns.

Each item of the collection is a VARIANT of type VT_BSTR. Set the bstrVal member to the filename pattern. The pattern is limited to 260 characters. The pattern cannot contain quotation marks, slash marks, backslashes, or colons.

Previous patterns are overwritten.

Remarks

A filename pattern is a string expression that defines a set of filenames. The expression may contain the following wildcard characters: "*" and "?". The "*" wildcard matches 0 or more characters and the "?" wildcard matches exactly 1 character. For example, the file name "example.cpp" matches the pattern "e*.cpp", but not "e?.cpp". The filename "ex.cpp" would match both patterns. Note that when the filename pattern is used to compare against a specific filename, the pattern match is case-insensitive.

For an example, see Creating File Groups to Specify the Files to Restrict.

See Also

IFsrmFileGroup Interface
Microsoft.Storage Namespace

Return to top