DirectoryCatalog.SearchPattern Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: