FilterPattern Object

This object describes a pattern that can appear within a filter. A pattern either includes or excludes items, and matches items based on their type and their name.



Specifies whether the pattern includes or excludes matched items.

IDL [propget] HRESULT Filter([out, retval] PatternFilter* pValue)
[propput] HRESULT Filter([in] PatternFilter newValue)
.NET PatternFilter Filter[get, set]


Specifies whether the pattern matches files, folders, or both.

IDL [propget] HRESULT Match([out, retval] PatternMatch* pValue)
[propput] HRESULT Match([in] PatternMatch newValue)
.NET PatternMatch Match[get, set]


Specifies a semicolon-separated list of optionally wildcarded patterns that will be used to match the name of items. For example: “*.exe;*.obj;*.lib”, or “Debug;Release”. Please note that unlike in previous Merge builds, folder names in pattern lists should not be given a back-slash suffix.

IDL [propget] HRESULT Pattern([out, retval] BSTR* pValue)
[propput] HRESULT Pattern([in] BSTR newValue)
.NET String Pattern[get, set]