ICompositionScopeCreator.CreateScope Method
Creates a scoped representation of the provided catalog.
Namespace: Microsoft.VisualStudio.ExtensibilityHosting
Assembly: Microsoft.VisualStudio.ExtensibilityHosting (in Microsoft.VisualStudio.ExtensibilityHosting.dll)
Syntax
'Declaration
Function CreateScope ( _
catalog As ComposablePartCatalog _
) As CompositionScopeDefinition
CompositionScopeDefinition CreateScope(
ComposablePartCatalog catalog
)
CompositionScopeDefinition^ CreateScope(
ComposablePartCatalog^ catalog
)
abstract CreateScope :
catalog:ComposablePartCatalog -> CompositionScopeDefinition
function CreateScope(
catalog : ComposablePartCatalog
) : CompositionScopeDefinition
Parameters
catalog
Type: ComposablePartCatalogthe catalog to which scoping is applied.
Return Value
Type: CompositionScopeDefinition
the scoped representation of the catalog.
.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.