Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Provides access to a MEF catalog by name.
Namespace: Microsoft.VisualStudio.ComponentModelHost
Assembly: Microsoft.VisualStudio.ComponentModelHost (in Microsoft.VisualStudio.ComponentModelHost.dll)
Syntax
'Declaration
Function GetCatalog ( _
catalogName As String _
) As ComposablePartCatalog
'Usage
Dim instance As IComponentModel
Dim catalogName As String
Dim returnValue As ComposablePartCatalog
returnValue = instance.GetCatalog(catalogName)
ComposablePartCatalog GetCatalog(
string catalogName
)
ComposablePartCatalog^ GetCatalog(
String^ catalogName
)
abstract GetCatalog :
catalogName:string -> ComposablePartCatalog
function GetCatalog(
catalogName : String
) : ComposablePartCatalog
Parameters
- catalogName
Type: System.String
The name of the catalog. It cannot be null or an empty string.
Return Value
Type: System.ComponentModel.Composition.Primitives.ComposablePartCatalog
A ComposablePartCatalog.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | catalogName is null. |
| ArgumentException | catalogName is an empty string. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.