ExtensionRegistrarBase<T,TMetadataView>.CanImport Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if for a particular Lazy Import, the underlying exported object should be imported or not. The default implementation allows all imports.
protected:
virtual bool CanImport(Lazy<T, TMetadataView> ^ lazyImport);
protected virtual bool CanImport (Lazy<T,TMetadataView> lazyImport);
abstract member CanImport : Lazy<'T, 'MetadataView> -> bool
override this.CanImport : Lazy<'T, 'MetadataView> -> bool
Protected Overridable Function CanImport (lazyImport As Lazy(Of T, TMetadataView)) As Boolean
Parameters
- lazyImport
- Lazy<T,TMetadataView>