IComponentModel.GetCatalog(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to a MEF catalog by name.
public:
System::ComponentModel::Composition::Primitives::ComposablePartCatalog ^ GetCatalog(System::String ^ catalogName);
public System.ComponentModel.Composition.Primitives.ComposablePartCatalog GetCatalog (string catalogName);
abstract member GetCatalog : string -> System.ComponentModel.Composition.Primitives.ComposablePartCatalog
Public Function GetCatalog (catalogName As String) As ComposablePartCatalog
Parameters
- catalogName
- String
Name of the catalog cannot be null or an empty string.
Returns
The requested catalog instance.
Exceptions
Thrown when catalogName argument is null.
Thrown when catalogName argument is an empty string.