ISymUnmanagedConstant::GetValue Method

Gets the value of the constant.

HRESULT GetValue(
    [out]  VARIANT* pValue
);

Parameters

  • pValue
    [out] A pointer to a variable that receives the value.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedConstant Interface
ISymUnmanagedConstant::GetName Method
ISymUnmanagedConstant::GetSignature Method