ISymUnmanagedWriter::SetSymAttribute Method
Defines a custom attribute based upon its name. These attributes are held in the symbol store, unlike metadata custom attributes.
HRESULT SetSymAttribute(
[in] mdToken parent,
[in] const WCHAR *name,
[in] ULONG32 cData,
[in, size_is(cData)] unsigned char data[]);
Parameters
parent
[in] The metadata token for which the attribute is being defined.name
[in] A pointer to a WCHAR that contains the attribute name.cData
[in] A ULONG32 that indicates the size of the data array.data
[in] The attribute value.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h