SearchPattern Property

DirectoryCatalog.SearchPattern Property

.NET Framework (current version)
 

Gets the search pattern that is passed into the constructor of the DirectoryCatalog object.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public string SearchPattern { get; }

Property Value

Type: System.String

The search pattern the catalog uses to find files. The default is *.dll, which returns all DLL files.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft