共用方式為


IDebugProperty2::GetPropertyInfo

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the DEBUG_PROPERTY_INFO structure that describes a property.

Syntax

HRESULT GetPropertyInfo ( 
   DEBUGPROP_INFO_FLAGS dwFields,
   DWORD                nRadix,
   DWORD                dwTimeout,
   IDebugReference2**   rgpArgs,
   DWORD                dwArgCount,
   DEBUG_PROPERTY_INFO* pPropertyInfo
);
int GetPropertyInfo ( 
   enum_DEBUGPROP_INFO_FLAGS dwFields,
   uint                      nRadix,
   uint                      dwTimeout,
   IDebugReference2[]        rgpArgs,
   uint                      dwArgCount,
   DEBUG_PROPERTY_INFO[]     pPropertyInfo
);

Parameters

dwFields
[in] A combination of values from the DEBUGPROP_INFO_FLAGS enumeration that specifies which fields are to be filled out in the pPropertyInfo structure.

nRadix
[in] Radix to be used in formatting any numerical information.

dwTimeout
[in] Specifies the maximum time, in milliseconds, to wait before returning from this method. Use INFINITE to wait indefinitely.

rgpArgs
[in, out] Reserved for future use; set to a null value.

dwArgCount
[in] Reserved for future use; set to zero.

pPropertyInfo
[out] A DEBUG_PROPERTY_INFO structure that is filled in with the description of the property.

Return Value

If successful, returns S_OK; otherwise returns error code.

See also