DkmClrAppDomain.GetMetaDataBytes(String, Guid) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在内部用于支持 DkmClrAppDomain。 GetMetaDataBytesPtr。 出于性能原因,请使用 GetMetaDataBytesPtr,而不是使用此方法。
位置约束:必须从 IDE 组件 (组件级别 100000) 中调用 API > 。
此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。
public:
cli::array <System::Byte> ^ GetMetaDataBytes(System::String ^ AssemblyName, [Runtime::InteropServices::Out] Guid % Mvid);
public byte[] GetMetaDataBytes (string AssemblyName, out Guid Mvid);
member this.GetMetaDataBytes : string * Guid -> byte[]
Public Function GetMetaDataBytes (AssemblyName As String, ByRef Mvid As Guid) As Byte()
参数
- AssemblyName
- String
中要加载的程序集的完全限定名称。
- Mvid
- Guid
弄已加载的模块的 MVID。
返回
- Byte[]
弄元数据 blob。
例外
CORDB_E_MISSING_METADATA 指示程序集未找到或无法加载。