Compartilhar via


IDebugPropertyField::GetPropertyGetter

Note

This article applies to Visual Studio 2015. 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 gets the property.

Syntax

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

Parameters

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

Return Value

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

Remarks

To get the method that sets the property, GetPropertySetter call the method.

See Also

IDebugPropertyField
GetPropertySetter
IDebugMethodField