DkmClrAppDomain.GetMetaDataBytes(String, Guid) Method

Definition

Used internally to support DkmClrAppDomain.GetMetaDataBytesPtr. For performance reasons, use GetMetaDataBytesPtr instead of this method.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.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()

Parameters

AssemblyName
String

[In] The fully qualified name of the assembly to load.

Mvid
Guid

[Out] The MVID of the module that was loaded.

Returns

Byte[]

[Out] The metadata blob.

Exceptions

CORDB_E_MISSING_METADATA indicates that the assembly was not found or could not be loaded.

Applies to