DefaultScopeCreator.TryCreateScope Method
Namespace: Microsoft.VisualStudio.ExtensibilityHosting
Assembly: Microsoft.VisualStudio.ExtensibilityHosting (in Microsoft.VisualStudio.ExtensibilityHosting.dll)
Syntax
'Dichiarazione
Public Function TryCreateScope ( _
catalog As ComposablePartCatalog, _
<OutAttribute> ByRef rootScope As CompositionScopeDefinition _
) As Boolean
public bool TryCreateScope(
ComposablePartCatalog catalog,
out CompositionScopeDefinition rootScope
)
public:
bool TryCreateScope(
ComposablePartCatalog^ catalog,
[OutAttribute] CompositionScopeDefinition^% rootScope
)
member TryCreateScope :
catalog:ComposablePartCatalog *
rootScope:CompositionScopeDefinition byref -> bool
public function TryCreateScope(
catalog : ComposablePartCatalog,
rootScope : CompositionScopeDefinition
) : boolean
Parameters
- rootScope
Type: System.ComponentModel.Composition.Hosting.CompositionScopeDefinition%
Return Value
Type: System.Boolean
.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.