共用方式為


FIELD_INFO

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 structure describes a local variable, parameter, or other field.

Syntax

typedef struct _tagFieldInfo {
    FIELD_INFO_FIELDS dwFields;
    BSTR              bstrFullName;
    BSTR              bstrName;
    BSTR              bstrType;
    FIELD_MODIFIERS   dwModifiers;
} FIELD_INFO;
public struct FIELD_INFO {
    public uint   dwFields;
    public string bstrFullName;
    public string bstrName;
    public string bstrType;
    public uint   dwModifiers;
};

Members

dwFields
A combination of flags from the FIELD_INFO_FIELDS enumeration that specifies which members are filled in.

bstrFullName
The full name of the field.

bstrName
The short name of the field.

bstrType
The type of the field.

dwModifiers
A combination of flags from the FIELD_MODIFIERS enumeration that describes the field.

Remarks

This structure is passed to the GetInfo method where it is filled in.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also