共用方式為


ValidationExtensionRegistrar.CanImport Method

Allow registrars that match the metadatafilter with a key in their metadata to be imported

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

Syntax

'宣告
Protected Overrides Function CanImport ( _
    lazyImport As Lazy(Of Delegate, IDictionary(Of String, Object)) _
) As Boolean
protected override bool CanImport(
    Lazy<Delegate, IDictionary<string, Object>> lazyImport
)
protected:
virtual bool CanImport(
    Lazy<Delegate^, IDictionary<String^, Object^>^>^ lazyImport
) override
abstract CanImport : 
        lazyImport:Lazy<Delegate, IDictionary<string, Object>> -> bool 
override CanImport : 
        lazyImport:Lazy<Delegate, IDictionary<string, Object>> -> bool 
protected override function CanImport(
    lazyImport : Lazy<Delegate, IDictionary<String, Object>>
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ValidationExtensionRegistrar Class

Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace