_FieldInfo Interface

Définition

Important

Cette API n’est pas conforme CLS.

Expose les membres publics de la classe FieldInfo au 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 de code managé.

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

Propriétés

Attributes

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

DeclaringType

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

FieldHandle

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

FieldType

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

IsAssembly

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

IsFamily

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

IsFamilyAndAssembly

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

IsFamilyOrAssembly

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

IsInitOnly

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

IsLiteral

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

IsNotSerialized

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

IsPinvokeImpl

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

IsPrivate

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

IsPublic

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

IsSpecialName

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

IsStatic

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

MemberType

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

Name

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

ReflectedType

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

Méthodes

Equals(Object)

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

GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean)

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

GetHashCode()

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

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

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

GetType()

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

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 des objets COM avec un accès indépendant de la version à la méthode GetValue(Object).

GetValueDirect(TypedReference)

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

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

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

IsDefined(Type, Boolean)

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

SetValue(Object, Object)

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

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

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

SetValueDirect(TypedReference, Object)

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

ToString()

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

S’applique à