Editare

Partajați prin


_FieldInfo Interface

Definition

Important

This API is not CLS-compliant.

Exposes the public members of the FieldInfo class to unmanaged code.

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
Derived
Attributes

Remarks

This interface is for access to managed classes from unmanaged code, and should not be called from managed code.

This interface preserves the vtable order of the System.Reflection.FieldInfo class members that can be accessed by unmanaged COM objects.

Properties

Attributes

Provides COM objects with version-independent access to the Attributes property.

DeclaringType

Provides COM objects with version-independent access to the DeclaringType property.

FieldHandle

Provides COM objects with version-independent access to the FieldHandle property.

FieldType

Provides COM objects with version-independent access to the FieldType property.

IsAssembly

Provides COM objects with version-independent access to the IsAssembly property.

IsFamily

Provides COM objects with version-independent access to the IsFamily property.

IsFamilyAndAssembly

Provides COM objects with version-independent access to the IsFamilyAndAssembly property.

IsFamilyOrAssembly

Provides COM objects with version-independent access to the IsFamilyOrAssembly property.

IsInitOnly

Provides COM objects with version-independent access to the IsInitOnly property.

IsLiteral

Provides COM objects with version-independent access to the IsLiteral property.

IsNotSerialized

Provides COM objects with version-independent access to the IsNotSerialized property.

IsPinvokeImpl

Provides COM objects with version-independent access to the IsPinvokeImpl property.

IsPrivate

Provides COM objects with version-independent access to the IsPrivate property.

IsPublic

Provides COM objects with version-independent access to the IsPublic property.

IsSpecialName

Provides COM objects with version-independent access to the IsSpecialName property.

IsStatic

Provides COM objects with version-independent access to the IsStatic property.

MemberType

Provides COM objects with version-independent access to the MemberType property.

Name

Provides COM objects with version-independent access to the Name property.

ReflectedType

Provides COM objects with version-independent access to the ReflectedType property.

Methods

Equals(Object)

Provides COM objects with version-independent access to the Equals(Object) method.

GetCustomAttributes(Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetHashCode()

Provides COM objects with version-independent access to the GetHashCode() method.

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

Maps a set of names to a corresponding set of dispatch identifiers.

GetType()

Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

GetValue(Object)

Provides COM objects with version-independent access to the GetValue(Object) method.

GetValueDirect(TypedReference)

Provides COM objects with version-independent access to the GetValueDirect(TypedReference) method.

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

Provides access to properties and methods exposed by an object.

IsDefined(Type, Boolean)

Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

SetValue(Object, Object)

Provides COM objects with version-independent access to the SetValue(Object, Object) method.

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

Provides COM objects with version-independent access to the SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) method.

SetValueDirect(TypedReference, Object)

Provides COM objects with version-independent access to the SetValueDirect(TypedReference, Object) method.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Applies to