ISymUnmanagedReader2::GetSymAttributePreRemap Method
Gets a custom attribute based upon its name. Unlike metadata custom attributes, these attributes are held in the symbol store.
Syntax
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, CorSym.h
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.