次の方法で共有


IDebugPropertyField

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

This interface provides the functions that allow getting and setting a property.

Syntax

IDebugPropertyField : IDebugContainerField

Notes for Implementers

A symbol provider implements this interface on the same object that implements the IDebugContainerField. This interface is a specialization that supports the concept of properties on a class.

Notes for Callers

Use QueryInterface to obtain this interface from the IDebugContainerField interface if the GetKind method returns FIELD_KIND_PROP.

Methods in Vtable Order

In addition to the methods on the IDebugField and IDebugContainerField interfaces, this interface implements the following methods:

Method Description
GetPropertyGetter Gets the method that gets the property.
GetPropertySetter Gets the method that sets the property.

Remarks

A property is a managed code concept and represents a method that is treated as a variable. Properties do not exist in unmanaged C++.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also