FIELD_MODIFIERSFIELD_MODIFIERS

Especifica os modificadores para um tipo de campo.Specifies modifiers for a field type.

SintaxeSyntax

enum enum_FIELD_MODIFIERS {
    FIELD_MOD_NONE             = 0x00000000,

    // Modifier of the field
    FIELD_MOD_ACCESS_NONE      = 0x00000001,
    FIELD_MOD_ACCESS_PUBLIC    = 0x00000002,
    FIELD_MOD_ACCESS_PROTECTED = 0x00000004,
    FIELD_MOD_ACCESS_PRIVATE   = 0x00000008,

    // Storage modifier of the field
    FIELD_MOD_NOMODIFIERS      = 0x00000010,
    FIELD_MOD_STATIC           = 0x00000020,
    FIELD_MOD_CONSTANT         = 0x00000040,
    FIELD_MOD_TRANSIENT        = 0x00000080,
    FIELD_MOD_VOLATILE         = 0x00000100,
    FIELD_MOD_ABSTRACT         = 0x00000200,
    FIELD_MOD_NATIVE           = 0x00000400,
    FIELD_MOD_SYNCHRONIZED     = 0x00000800,
    FIELD_MOD_VIRTUAL          = 0x00001000,
    FIELD_MOD_INTERFACE        = 0x00002000,
    FIELD_MOD_FINAL            = 0x00004000,
    FIELD_MOD_SENTINEL         = 0x00008000,
    FIELD_MOD_INNERCLASS       = 0x00010000,
    FIELD_TYPE_OPTIONAL        = 0x00020000,
    FIELD_MOD_BYREF            = 0x00040000,
    FIELD_MOD_HIDDEN           = 0x00080000,
    FIELD_MOD_MARSHALASOBJECT  = 0x00100000,
    FIELD_MOD_SPECIAL_NAME     = 0x00200000,
    FIELD_MOD_HIDEBYSIG        = 0x00400000,

    FIELD_MOD_WRITEONLY        = 0x80000000,
    FIELD_MOD_ACCESS_MASK      = 0x000000ff,
    FIELD_MOD_MASK             = 0xffffff00,
    FIELD_MOD_ALL              = 0x7fffffff
};
typedef DWORD FIELD_MODIFIERS;
public enum enum_FIELD_MODIFIERS {
    FIELD_MOD_NONE             = 0x00000000,

    // Modifier of the field
    FIELD_MOD_ACCESS_NONE      = 0x00000001,
    FIELD_MOD_ACCESS_PUBLIC    = 0x00000002,
    FIELD_MOD_ACCESS_PROTECTED = 0x00000004,
    FIELD_MOD_ACCESS_PRIVATE   = 0x00000008,

    // Storage modifier of the field
    FIELD_MOD_NOMODIFIERS      = 0x00000010,
    FIELD_MOD_STATIC           = 0x00000020,
    FIELD_MOD_CONSTANT         = 0x00000040,
    FIELD_MOD_TRANSIENT        = 0x00000080,
    FIELD_MOD_VOLATILE         = 0x00000100,
    FIELD_MOD_ABSTRACT         = 0x00000200,
    FIELD_MOD_NATIVE           = 0x00000400,
    FIELD_MOD_SYNCHRONIZED     = 0x00000800,
    FIELD_MOD_VIRTUAL          = 0x00001000,
    FIELD_MOD_INTERFACE        = 0x00002000,
    FIELD_MOD_FINAL            = 0x00004000,
    FIELD_MOD_SENTINEL         = 0x00008000,
    FIELD_MOD_INNERCLASS       = 0x00010000,
    FIELD_TYPE_OPTIONAL        = 0x00020000,
    FIELD_MOD_BYREF            = 0x00040000,
    FIELD_MOD_HIDDEN           = 0x00080000,
    FIELD_MOD_MARSHALASOBJECT  = 0x00100000,
    FIELD_MOD_SPECIAL_NAME     = 0x00200000,
    FIELD_MOD_HIDEBYSIG        = 0x00400000,

    FIELD_MOD_WRITEONLY        = 0x80000000,
    FIELD_MOD_ACCESS_MASK      = 0x000000ff,
    FIELD_MOD_MASK             = 0xffffff00,
    FIELD_MOD_ALL              = 0x7fffffff
};

MembrosMembers

FIELD_MOD_ACCESS_TYPE indica que o campo não pode ser acessado.FIELD_MOD_ACCESS_TYPE Indicates that the field cannot be accessed.

FIELD_MOD_ACCESS_PUBLIC indica que o campo tem acesso público.FIELD_MOD_ACCESS_PUBLIC Indicates that the field has public access.

FIELD_MOD_ACCESS_PROTECTED indica que o campo tem acesso protegido.FIELD_MOD_ACCESS_PROTECTED Indicates that the field has protected access.

FIELD_MOD_ACCESS_PRIVATE indica que o campo tem acesso privado.FIELD_MOD_ACCESS_PRIVATE Indicates that the field has private access.

FIELD_MOD_NOMODIFIERS indica que o campo não tiver nenhum modificador.FIELD_MOD_NOMODIFIERS Indicates that the field has no modifiers.

FIELD_MOD_STATIC indica que o campo é estático.FIELD_MOD_STATIC Indicates that the field is static.

FIELD_MOD_CONSTANT indica que o campo é uma constante.FIELD_MOD_CONSTANT Indicates that the field is a constant.

FIELD_MOD_TRANSIENT indica que o campo é transitório.FIELD_MOD_TRANSIENT Indicates that the field is transient.

FIELD_MOD_VOLATILE indica que o campo é volátil.FIELD_MOD_VOLATILE Indicates that the field is volatile.

FIELD_MOD_ABSTRACT indica que o campo é abstrato.FIELD_MOD_ABSTRACT Indicates that the field is abstract.

FIELD_MOD_NATIVE indica que o campo é nativo.FIELD_MOD_NATIVE Indicates that the field is native.

FIELD_MOD_SYNCHRONIZED indica que o campo será sincronizado.FIELD_MOD_SYNCHRONIZED Indicates that the field is synchronized.

FIELD_MOD_VIRTUAL indica que o campo é virtual.FIELD_MOD_VIRTUAL Indicates that the field is virtual.

FIELD_MOD_INTERFACE indica que o campo é uma interface.FIELD_MOD_INTERFACE Indicates that the field is an interface.

FIELD_MOD_FINAL indica que o campo é final.FIELD_MOD_FINAL Indicates that the field is final.

FIELD_MOD_SENTINEL indica que o campo é uma Sentinela.FIELD_MOD_SENTINEL Indicates that the field is a sentinel.

FIELD_MOD_INNERCLASS indica que o campo é uma classe interna.FIELD_MOD_INNERCLASS Indicates that the field is an inner class.

FIELD_TYPE_OPTIONAL indica que o campo é opcional.FIELD_TYPE_OPTIONAL Indicates that the field is optional.

FIELD_MOD_BYREF indica que o campo é um argumento de referência.FIELD_MOD_BYREF Indicates that the field is a reference argument. Isso é especificamente para argumentos de método.This is specifically for method arguments.

FIELD_MOD_HIDDEN indica que o campo deve ser ocultado ou apresentado em outro contexto; Por exemplo, Visual BasicVisual Basic estáticos locais.FIELD_MOD_HIDDEN Indicates that the field must be hidden or presented in another context; for example, Visual BasicVisual Basic static locals.

FIELD_MOD_MARSHALASOBJECT indica que o campo representa um objeto com um IUnknown interface.FIELD_MOD_MARSHALASOBJECT Indicates that the field represents an object with an IUnknown interface.

FIELD_MOD_SPECIAL_NAME indica que o campo tem um nome especial, por exemplo, .ctor para um construtor (Visual BasicVisual Basic somente).FIELD_MOD_SPECIAL_NAME Indicates that the field has a special name, for example, .ctor for a constructor (Visual BasicVisual Basic only).

FIELD_MOD_HIDEBYSIG indica que o campo tem o Overloads palavra-chave aplicada a ele (Visual BasicVisual Basic somente).FIELD_MOD_HIDEBYSIG Indicates that the field has the Overloads keyword applied to it (Visual BasicVisual Basic only).

FIELD_MOD_WRITEONLY indica que o campo é somente gravação.FIELD_MOD_WRITEONLY Indicates that the field is write-only. Esse valor não está incluído no FIELD_MOD_ALL, conforme o uso apenas esses campos somente gravação é para a avaliação da função.This value is not included in FIELD_MOD_ALL, as the only use of such write-only fields is for function evaluation. Um usuário deve solicitar explicitamente FIELD_MOD_WRITEONLY campos.A user must explicitly ask for FIELD_MOD_WRITEONLY fields.

FIELD_MOD_ACCESS_MASK indica a máscara de acesso de campo.FIELD_MOD_ACCESS_MASK Indicates a mask for field access.

FIELD_MOD_MASK indica uma máscara para modificadores de campo.FIELD_MOD_MASK Indicates a mask for field modifiers.

ComentáriosRemarks

Usado para o dwModifiers membro a FIELD_INFO estrutura.Used for the dwModifiers member of the FIELD_INFO structure.

Esses valores também são passados para o EnumFields método para filtrar por campos específicos.These values are also passed to the EnumFields method to filter for specific fields.

RequisitosRequirements

Header: sh.hHeader: sh.h

Namespace: Microsoft.VisualStudio.Debugger.InteropNamespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dllAssembly: Microsoft.VisualStudio.Debugger.Interop.dll

Consulte tambémSee Also