DkmClrAppDomain.GetMetaDataBytes(String, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[Out] The metadata blob.
Exceptions
CORDB_E_MISSING_METADATA indicates that the assembly was not found or could not be loaded.