Поделиться через


IFsrmFileGroup.NonMembers Property

 

Retrieves or sets the filename patterns that determine the files that are excluded from the file group.

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

Syntax

IFsrmMutableCollection NonMembers { get; set; }
property IFsrmMutableCollection^ NonMembers {
    IFsrmMutableCollection^ get();
    void set(IFsrmMutableCollection^ value);
}
abstract NonMembers : IFsrmMutableCollection with get, set
Property NonMembers 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.

You use the property to allow file patterns that would otherwise be blocked by the Members Members property. For example, if Members property uses "*.mp*" to block mp3 files, you could set this property to "*.mpp" to allow "*.mpp" files.

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

See Also

IFsrmFileGroup Interface
Microsoft.Storage Namespace

Return to top