GestureExtensionController.CanImport Method
Allow registrar that have a key in their metadata matching the MetadataFilter string to be imported
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overrides Function CanImport ( _
lazyImport As Lazy(Of IGestureExtension, Dictionary(Of String, Object)) _
) As Boolean
protected override bool CanImport(
Lazy<IGestureExtension, Dictionary<string, Object>> lazyImport
)
protected:
virtual bool CanImport(
Lazy<IGestureExtension^, Dictionary<String^, Object^>^>^ lazyImport
) override
abstract CanImport :
lazyImport:Lazy<IGestureExtension, Dictionary<string, Object>> -> bool
override CanImport :
lazyImport:Lazy<IGestureExtension, Dictionary<string, Object>> -> bool
protected override function CanImport(
lazyImport : Lazy<IGestureExtension, Dictionary<String, Object>>
) : boolean
Parameters
- lazyImport
Type: Lazy<IGestureExtension, Dictionary<String, Object>>
Return Value
Type: 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
GestureExtensionController Class
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace