IComponentModel::GetCatalog Method (String^)
Visual Studio 2015
Provides access to a MEF catalog by name.
Assembly: Microsoft.VisualStudio.ComponentModelHost (in Microsoft.VisualStudio.ComponentModelHost.dll)
Parameters
- catalogName
-
Type:
System::String^
The name of the catalog cannot be null or an empty string.
Return Value
Type: System.ComponentModel.Composition.Primitives::ComposablePartCatalog^The requested catalog instance.
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when catalogName argument is an empty string. |
| ArgumentException | Thrown when catalogName argument is an empty string. |
Show: