ExtensionRegistrarBase<T, TMetadataView>::CanImport Method (Lazy<T, TMetadataView>^)

 

Determines if for a particular Lazy Import, the underlying exported object should be imported or not. The default implementation allows all imports.

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

protected:
virtual bool CanImport(
	Lazy<T, TMetadataView>^ lazyImport
)

Parameters

Return Value

Type: System::Boolean

Return to top
Show: