更新:2007 年 11 月
检索元数据中使用的实际 FileDef 标记(相对于 ALink 指定的标记)。
HRESULT GetFileDef(
mdAssembly AssemblyID,
mdFile TargetFile,
mdFile* pScope
) PURE;
参数
AssemblyID
程序集的 ID。TargetFile
从 AddFile 方法 或 AddImport 方法 中检索到的所添加文件的标记。pScope
接收 FileDef 标记。
返回值
如果此方法成功,则返回 S_OK。
要求
需要 alink.h