次の方法で共有


IDebugPropertyField::GetPropertySetter

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 method that sets the property.

Syntax

HRESULT GetPropertySetter( 
   IDebugMethodField** ppField
);
int GetPropertySetter(
   out IDebugMethodField ppField
);

Parameters

ppField
[out] Returns an IDebugMethodField object representing the method that sets the property.

Return Value

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

Remarks

To get the method that gets the property, call the GetPropertyGetter method.

See also