Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

CommandExtensionRegistrar Class

Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement Namespace