_FieldInfo Interface

Définition

Important

Cette API n’est pas conforme CLS.

Expose les membres publics de la classe à du FieldInfo code non managé.

public interface class _FieldInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _FieldInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _FieldInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _FieldInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _FieldInfo = interface
Public Interface _FieldInfo
Dérivé
Attributs

Remarques

Cette interface est destinée à l’accès aux classes managées à partir de code non managé et ne doit pas être appelée à partir du code managé.

Cette interface conserve l’ordre vtable des membres de System.Reflection.FieldInfo classe accessibles par des objets COM non managés.

Propriétés

Nom Description
Attributes

Fournit aux objets COM un accès indépendant de la version à la Attributes propriété.

DeclaringType

Fournit aux objets COM un accès indépendant de la version à la DeclaringType propriété.

FieldHandle

Fournit aux objets COM un accès indépendant de la version à la FieldHandle propriété.

FieldType

Fournit aux objets COM un accès indépendant de la version à la FieldType propriété.

IsAssembly

Fournit aux objets COM un accès indépendant de la version à la IsAssembly propriété.

IsFamily

Fournit aux objets COM un accès indépendant de la version à la IsFamily propriété.

IsFamilyAndAssembly

Fournit aux objets COM un accès indépendant de la version à la IsFamilyAndAssembly propriété.

IsFamilyOrAssembly

Fournit aux objets COM un accès indépendant de la version à la IsFamilyOrAssembly propriété.

IsInitOnly

Fournit aux objets COM un accès indépendant de la version à la IsInitOnly propriété.

IsLiteral

Fournit aux objets COM un accès indépendant de la version à la IsLiteral propriété.

IsNotSerialized

Fournit aux objets COM un accès indépendant de la version à la IsNotSerialized propriété.

IsPinvokeImpl

Fournit aux objets COM un accès indépendant de la version à la IsPinvokeImpl propriété.

IsPrivate

Fournit aux objets COM un accès indépendant de la version à la IsPrivate propriété.

IsPublic

Fournit aux objets COM un accès indépendant de la version à la IsPublic propriété.

IsSpecialName

Fournit aux objets COM un accès indépendant de la version à la IsSpecialName propriété.

IsStatic

Fournit aux objets COM un accès indépendant de la version à la IsStatic propriété.

MemberType

Fournit aux objets COM un accès indépendant de la version à la MemberType propriété.

Name

Fournit aux objets COM un accès indépendant de la version à la Name propriété.

ReflectedType

Fournit aux objets COM un accès indépendant de la version à la ReflectedType propriété.

Méthodes

Nom Description
Equals(Object)

Fournit aux objets COM un accès indépendant de la version à la Equals(Object) méthode.

GetCustomAttributes(Boolean)

Fournit aux objets COM un accès indépendant de la version à la GetCustomAttributes(Boolean) méthode.

GetCustomAttributes(Type, Boolean)

Fournit aux objets COM un accès indépendant de la version à la GetCustomAttributes(Type, Boolean) méthode.

GetHashCode()

Fournit aux objets COM un accès indépendant de la version à la GetHashCode() méthode.

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Mappe un jeu de noms avec un jeu correspondant d'identificateurs de dispatch.

GetType()

Fournit aux objets COM un accès indépendant de la version à la GetType() méthode.

GetTypeInfo(UInt32, UInt32, IntPtr)

Récupère les informations de type pour un objet, qui peuvent être utilisées ensuite pour obtenir les informations de type d'une interface.

GetTypeInfoCount(UInt32)

Récupère le nombre d'interfaces d'informations de type fourni par un objet (0 ou 1).

GetValue(Object)

Fournit aux objets COM un accès indépendant de la version à la GetValue(Object) méthode.

GetValueDirect(TypedReference)

Fournit aux objets COM un accès indépendant de la version à la GetValueDirect(TypedReference) méthode.

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Fournit l’accès aux propriétés et méthodes exposées par un objet.

IsDefined(Type, Boolean)

Fournit aux objets COM un accès indépendant de la version à la IsDefined(Type, Boolean) méthode.

SetValue(Object, Object, BindingFlags, Binder, CultureInfo)

Fournit aux objets COM un accès indépendant de la version à la SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) méthode.

SetValue(Object, Object)

Fournit aux objets COM un accès indépendant de la version à la SetValue(Object, Object) méthode.

SetValueDirect(TypedReference, Object)

Fournit aux objets COM un accès indépendant de la version à la SetValueDirect(TypedReference, Object) méthode.

ToString()

Fournit aux objets COM un accès indépendant de la version à la ToString() méthode.

S’applique à