共用方式為


IDebugField::GetInfo

This method gets displayable information about the field.

HRESULT GetInfo( 
   FIELD_INFO_FIELDS dwFields,
   FIELD_INFO* pFieldInfo
);
int GetInfo(
   enum_FIELD_INFO_FIELDS dwFields,
   FIELD_INFO[] pFieldInfo
);

Parameters

  • dwFields
    [in] A combination of FIELD_INFO_FIELDS constants that selects the information to be displayed. If the field represents a symbol, this is typically the symbol name and type.

  • pFieldInfo
    [out] Returns the information in the supplied FIELD_INFO structure.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugField

FIELD_INFO