次の方法で共有


IDebugPropertyField

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

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 IDebugField::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

IDebugPropertyField::GetPropertyGetter

Gets the method that gets the property.

IDebugPropertyField::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

Reference

IDebugContainerField

Concepts

Symbol Provider Interfaces