ReflectionModelServices.IsExportFactoryImportDefinition 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指示指定的匯入定義是否代表匯出 Factory (ExportFactory<T> 或 ExportFactory<T,TMetadata> 物件)。
public:
static bool IsExportFactoryImportDefinition(System::ComponentModel::Composition::Primitives::ImportDefinition ^ importDefinition);
public static bool IsExportFactoryImportDefinition (System.ComponentModel.Composition.Primitives.ImportDefinition importDefinition);
static member IsExportFactoryImportDefinition : System.ComponentModel.Composition.Primitives.ImportDefinition -> bool
Public Shared Function IsExportFactoryImportDefinition (importDefinition As ImportDefinition) As Boolean
參數
- importDefinition
- ImportDefinition
要檢查的匯入定義。
傳回
如果指定的匯入定義代表匯出 Factory,則為 true,否則為 false。