ISymUnmanagedConstant::GetSignature Method

Gets the signature of the constant.

Syntax

HRESULT GetSignature(  
    [in]  ULONG32  cSig,  
    [out] ULONG32  *pcSig,  
    [out, size_is(cSig),  
        length_is(*pcSig)] BYTE sig[]);  

Parameters

cSig
[in] The length of the buffer that the pcSig parameter points to.

pcSig
[out] A pointer to a ULONG32 that receives the size, in characters, of the buffer required to contain the signature.

sig
[out] The buffer that stores the signature.

Return Value

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

Requirements

Header: CorSym.idl, CorSym.h

See also