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
- lazyImport
Type: System.Lazy<Delegate, 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
ValidationExtensionRegistrar Class
Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace