IDiaSymbol::get_udtKind

Retrieves the variety of a user-defined type (UDT).

HRESULT get_udtKind ( 
   DWORD* pRetVal
);

Parameters

  • pRetVal
    [out] Returns a value from the UdtKind enumeration that specifies the kind of a UDT: structure, class, or union.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE or error code.

Note

A return value of S_FALSE means the property is not available for the symbol.

See Also

Reference

IDiaSymbol

UdtKind