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]
VB6 Filter As PatternFilter


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]
VB6 Match As PatternMatch


Specifies a semi-colon 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]
VB6 Pattern As String