CommandExtensionRegistrar.CanImport Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This member overrides ExtensionRegistrarBase<T, TMetadataView>.CanImport(Export<T, TMetadataView>).

Namespace:  Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaration
Protected Overrides Function CanImport ( _
    lazyImport As Export(Of ICommandExtension, IDictionary(Of String, Object)) _
) As Boolean
'Usage
Dim lazyImport As Export(Of ICommandExtension, IDictionary(Of String, Object))
Dim returnValue As Boolean

returnValue = Me.CanImport(lazyImport)
protected override bool CanImport(
    Export<ICommandExtension, IDictionary<string, Object>> lazyImport
)
protected:
virtual bool CanImport(
    Export<ICommandExtension^, IDictionary<String^, Object^>^>^ lazyImport
) override
protected override function CanImport(
    lazyImport : Export<ICommandExtension, IDictionary<String, Object>>
) : boolean
abstract CanImport : 
        lazyImport:Export<ICommandExtension, IDictionary<string, Object>> -> bool 
override CanImport : 
        lazyImport:Export<ICommandExtension, IDictionary<string, Object>> -> bool 

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CommandExtensionRegistrar Class

CommandExtensionRegistrar Members

Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace