共用方式為


IMetaDataAssemblyImport Interface

提供方法來存取和檢查元件指令清單的內容。

Methods

Method Description
CloseEnum Method 將句柄釋放至指定的列舉值。
EnumAssemblyRefs Method 取得列舉值的介面指標,其中包含 mdAssemblyRef 目前元數據範圍中元件所參考之元件的標記。
EnumExportedTypes Method 取得列舉值的介面指標,這個列舉值包含 mdExportedType 目前元數據範圍中元件所參考之 COM 型別的標記。
EnumFiles Method 取得列舉值的介面指標,這個列舉值包含 mdFile 目前元數據範圍中元件所參考之檔案的標記。
EnumManifestResources Method 取得列舉值的介面指標,其中包含 mdManifestResource 目前元數據範圍中元件所參考之資源的標記。
FindAssembliesByName Method 取得具有指定名稱之元件的介面指標數位列 IMetaDataAssemblyImport
FindExportedTypeByName Method mdExportedType取得具有指定名稱之 COM 類型的令牌。
FindManifestResourceByName Method mdManifestResource取得具有指定名稱之資源的令牌。
GetAssemblyFromScope Method 取得目前元數據範圍中元件的令牌。
GetAssemblyProps Method 取得指定元件的屬性設定。
GetAssemblyRefProps Method 取得指定 mdAssemblyRef 之令牌的屬性設定。
GetExportedTypeProps Method 取得指定 COM 類型的屬性設定。
GetFileProps Method 取得指定檔案的屬性設定。
GetManifestResourceProps Method 取得指定指令清單資源的屬性設定。

Requirements

平臺: 請參閱 .NET 支援的作系統

Header: Cor.h

Library: CorGuids.lib

See also