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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.