Share via


ISymUnmanagedReader2::GetSymAttributePreRemap Method

Gets a custom attribute based upon its name. Unlike metadata custom attributes, these attributes are held in the symbol store.

HRESULT GetSymAttributePreRemap(
    [in]  mdToken  parent,
    [in]  WCHAR    *name,
    [in]  ULONG32  cBuffer,
    [out] ULONG32  *pcBuffer,
    [out, size_is(cBuffer),
        length_is(*pcBuffer)] BYTE buffer[]);

Parameters

  • parent
    [in] The metadata token of the parent.
  • name
    [in] A pointer to a WCHAR that contains the name.
  • cBuffer
    [in] A ULONG32 that indicates the size of the buffer array.
  • pcBuffer
    [out] A pointer to a ULONG32 that receives the size of the buffer required to contain the attribute bytes.
  • buffer
    [out] A pointer to the buffer that receives the attribute bytes.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedReader2 Interface