_FieldInfo 接口

定义

重要

此 API 不符合 CLS。

向非托管代码公开该类的公共成员 FieldInfo

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
派生
属性

注解

此接口用于从非托管代码访问托管类,不应从托管代码调用。

此接口保留可由非托管 COM 对象访问的 System.Reflection.FieldInfo 类成员的 vtable 顺序。

属性

名称 说明
Attributes

为 COM 对象提供与版本无关的属性 Attributes 访问权限。

DeclaringType

为 COM 对象提供与版本无关的属性 DeclaringType 访问权限。

FieldHandle

为 COM 对象提供与版本无关的属性 FieldHandle 访问权限。

FieldType

为 COM 对象提供与版本无关的属性 FieldType 访问权限。

IsAssembly

为 COM 对象提供与版本无关的属性 IsAssembly 访问权限。

IsFamily

为 COM 对象提供与版本无关的属性 IsFamily 访问权限。

IsFamilyAndAssembly

为 COM 对象提供与版本无关的属性 IsFamilyAndAssembly 访问权限。

IsFamilyOrAssembly

为 COM 对象提供与版本无关的属性 IsFamilyOrAssembly 访问权限。

IsInitOnly

为 COM 对象提供与版本无关的属性 IsInitOnly 访问权限。

IsLiteral

为 COM 对象提供与版本无关的属性 IsLiteral 访问权限。

IsNotSerialized

为 COM 对象提供与版本无关的属性 IsNotSerialized 访问权限。

IsPinvokeImpl

为 COM 对象提供与版本无关的属性 IsPinvokeImpl 访问权限。

IsPrivate

为 COM 对象提供与版本无关的属性 IsPrivate 访问权限。

IsPublic

为 COM 对象提供与版本无关的属性 IsPublic 访问权限。

IsSpecialName

为 COM 对象提供与版本无关的属性 IsSpecialName 访问权限。

IsStatic

为 COM 对象提供与版本无关的属性 IsStatic 访问权限。

MemberType

为 COM 对象提供与版本无关的属性 MemberType 访问权限。

Name

为 COM 对象提供与版本无关的属性 Name 访问权限。

ReflectedType

为 COM 对象提供与版本无关的属性 ReflectedType 访问权限。

方法

名称 说明
Equals(Object)

为 COM 对象提供与版本无关的访问 Equals(Object) 方法。

GetCustomAttributes(Boolean)

为 COM 对象提供与版本无关的访问 GetCustomAttributes(Boolean) 方法。

GetCustomAttributes(Type, Boolean)

为 COM 对象提供与版本无关的访问 GetCustomAttributes(Type, Boolean) 方法。

GetHashCode()

为 COM 对象提供与版本无关的访问 GetHashCode() 方法。

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

将一组名称映射为对应的一组调度标识符。

GetType()

为 COM 对象提供与版本无关的访问 GetType() 方法。

GetTypeInfo(UInt32, UInt32, IntPtr)

检索对象的类型信息,然后可以使用该信息获取接口的类型信息。

GetTypeInfoCount(UInt32)

检索对象提供的类型信息接口的数量(0 或 1)。

GetValue(Object)

为 COM 对象提供与版本无关的访问 GetValue(Object) 方法。

GetValueDirect(TypedReference)

为 COM 对象提供与版本无关的访问 GetValueDirect(TypedReference) 方法。

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

提供对对象公开的属性和方法的访问。

IsDefined(Type, Boolean)

为 COM 对象提供与版本无关的访问 IsDefined(Type, Boolean) 方法。

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

为 COM 对象提供与版本无关的访问 SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) 方法。

SetValue(Object, Object)

为 COM 对象提供与版本无关的访问 SetValue(Object, Object) 方法。

SetValueDirect(TypedReference, Object)

为 COM 对象提供与版本无关的访问 SetValueDirect(TypedReference, Object) 方法。

ToString()

为 COM 对象提供与版本无关的访问 ToString() 方法。

适用于