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: ComposablePartCatalog

    the catalog to which scoping is applied.

Return Value

Type: CompositionScopeDefinition
the scoped representation of the catalog.

.NET Framework Security

See Also

Reference

ICompositionScopeCreator Interface

Microsoft.VisualStudio.ExtensibilityHosting Namespace