FIELD_MODIFIERSFIELD_MODIFIERS

Spécifie les modificateurs pour un type de champ.Specifies modifiers for a field type.

SyntaxeSyntax

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  
};  

MembresMembers

FIELD_MOD_ACCESS_TYPEFIELD_MOD_ACCESS_TYPE
Indique que le champ ne sont pas accessibles.Indicates that the field cannot be accessed.

FIELD_MOD_ACCESS_PUBLICFIELD_MOD_ACCESS_PUBLIC
Indique que le champ possède un accès public.Indicates that the field has public access.

FIELD_MOD_ACCESS_PROTECTEDFIELD_MOD_ACCESS_PROTECTED
Indique que le champ possède un accès protégé.Indicates that the field has protected access.

FIELD_MOD_ACCESS_PRIVATEFIELD_MOD_ACCESS_PRIVATE
Indique que le champ possède un accès privé.Indicates that the field has private access.

FIELD_MOD_NOMODIFIERSFIELD_MOD_NOMODIFIERS
Indique que le champ possède pas de modificateurs.Indicates that the field has no modifiers.

FIELD_MOD_STATICFIELD_MOD_STATIC
Indique que le champ est statique.Indicates that the field is static.

FIELD_MOD_CONSTANTFIELD_MOD_CONSTANT
Indique que le champ est une constante.Indicates that the field is a constant.

FIELD_MOD_TRANSIENTFIELD_MOD_TRANSIENT
Indique que le champ est temporaire.Indicates that the field is transient.

FIELD_MOD_VOLATILEFIELD_MOD_VOLATILE
Indique que le champ est volatile.Indicates that the field is volatile.

FIELD_MOD_ABSTRACTFIELD_MOD_ABSTRACT
Indique que le champ est abstrait.Indicates that the field is abstract.

FIELD_MOD_NATIVEFIELD_MOD_NATIVE
Indique que le champ est natif.Indicates that the field is native.

FIELD_MOD_SYNCHRONIZEDFIELD_MOD_SYNCHRONIZED
Indique que le champ est synchronisé.Indicates that the field is synchronized.

FIELD_MOD_VIRTUALFIELD_MOD_VIRTUAL
Indique que le champ est virtuel.Indicates that the field is virtual.

FIELD_MOD_INTERFACEFIELD_MOD_INTERFACE
Indique que le champ est une interface.Indicates that the field is an interface.

FIELD_MOD_FINALFIELD_MOD_FINAL
Indique que le champ est définitive.Indicates that the field is final.

FIELD_MOD_SENTINELFIELD_MOD_SENTINEL
Indique que le champ est sentinelle.Indicates that the field is a sentinel.

FIELD_MOD_INNERCLASSFIELD_MOD_INNERCLASS
Indique que le champ est une classe interne.Indicates that the field is an inner class.

FIELD_TYPE_OPTIONALFIELD_TYPE_OPTIONAL
Indique que le champ est facultatif.Indicates that the field is optional.

FIELD_MOD_BYREFFIELD_MOD_BYREF
Indique que le champ est un argument de référence.Indicates that the field is a reference argument. Il s’agit en particulier pour les arguments de méthode.This is specifically for method arguments.

FIELD_MOD_HIDDENFIELD_MOD_HIDDEN
Indique que le champ doit être masqué ou présenté dans un autre contexte. par exemple, Visual BasicVisual Basic variables locales statiques.Indicates that the field must be hidden or presented in another context; for example, Visual BasicVisual Basic static locals.

FIELD_MOD_MARSHALASOBJECTFIELD_MOD_MARSHALASOBJECT
Indique que le champ représente un objet avec un IUnknown interface.Indicates that the field represents an object with an IUnknown interface.

FIELD_MOD_SPECIAL_NAMEFIELD_MOD_SPECIAL_NAME
Indique que le champ a un nom spécial, par exemple, .ctor un constructeur (Visual BasicVisual Basic uniquement).Indicates that the field has a special name, for example, .ctor for a constructor (Visual BasicVisual Basic only).

FIELD_MOD_HIDEBYSIGFIELD_MOD_HIDEBYSIG
Indique que le champ a le Overloads mot clé appliqué (Visual BasicVisual Basic uniquement).Indicates that the field has the Overloads keyword applied to it (Visual BasicVisual Basic only).

FIELD_MOD_WRITEONLYFIELD_MOD_WRITEONLY
Indique que le champ est en écriture seule.Indicates that the field is write-only. Cette valeur n’est pas incluse dans FIELD_MOD_ALL, comme la seule utilisation de ces champs en écriture seule pour l’évaluation de fonction.This value is not included in FIELD_MOD_ALL, as the only use of such write-only fields is for function evaluation. Un utilisateur doit demander explicitement FIELD_MOD_WRITEONLY champs.A user must explicitly ask for FIELD_MOD_WRITEONLY fields.

FIELD_MOD_ACCESS_MASKFIELD_MOD_ACCESS_MASK
Indique un masque d’accès au champ.Indicates a mask for field access.

FIELD_MOD_MASKFIELD_MOD_MASK
Indique un masque pour les modificateurs de champ.Indicates a mask for field modifiers.

NotesRemarks

Utilisé pour le dwModifiers membre de la FIELD_INFO structure.Used for the dwModifiers member of the FIELD_INFO structure.

Ces valeurs sont également transmis à la EnumFields méthode pour filtrer les champs spécifiques.These values are also passed to the EnumFields method to filter for specific fields.

SpécificationsRequirements

En-tête : sh.hHeader: sh.h

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

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

Voir aussiSee Also

Énumérations Enumerations
FIELD_INFO FIELD_INFO
EnumFieldsEnumFields