CommandExtensionRegistrar.CanImport Method
Allow registrars that match the metadatafilter with a key in their metadata to be imported
Namespace: Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overrides Function CanImport ( _
lazyImport As Lazy(Of ICommandExtension, IDictionary(Of String, Object)) _
) As Boolean
protected override bool CanImport(
Lazy<ICommandExtension, IDictionary<string, Object>> lazyImport
)
protected:
virtual bool CanImport(
Lazy<ICommandExtension^, IDictionary<String^, Object^>^>^ lazyImport
) override
abstract CanImport :
lazyImport:Lazy<ICommandExtension, IDictionary<string, Object>> -> bool
override CanImport :
lazyImport:Lazy<ICommandExtension, IDictionary<string, Object>> -> bool
protected override function CanImport(
lazyImport : Lazy<ICommandExtension, IDictionary<String, Object>>
) : boolean
Parameters
- lazyImport
Type: System.Lazy<ICommandExtension, IDictionary<String, Object>>
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.
See Also
Reference
CommandExtensionRegistrar Class
Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement Namespace