Muokkaa

Jaa


IDebugCustomAttribute::GetAttributeBytes

Gets the attribute information as a blob of bytes.

Syntax

int GetAttributeBytes(
   ref byte[] ppBlob,
   ref uint   pdwLen
);

Parameters

ppBlob
[in, out] An array that is filled in with the attribute bytes.

pdwLen
[in, out] Specifies the maximum number of bytes to return in the ppBlob array and returns the number of bytes actually written to the array.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Set the ppBlob parameter to a null value to return the number of attributes bytes available. Then allocate an array and pass that array in for the ppBlob parameter.

The attribute bytes represent the raw data of the custom attribute.

See also