_FieldInfo 介面

定義

重要

此 API 不符合 CLS 規範。

公開 FieldInfo 類別的公用成員至 Unmanaged 程式碼。Exposes the public members of the FieldInfo class to unmanaged code.

public interface class _FieldInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _FieldInfo
type _FieldInfo = interface
Public Interface _FieldInfo
衍生
屬性

備註

這個介面是用來從非受控程式碼存取 managed 類別,不應從 managed 程式碼呼叫。This interface is for access to managed classes from unmanaged code, and should not be called from managed code.

這個介面會保留可由非受控System.Reflection.FieldInfo COM 物件存取之類別成員的 vtable 順序。This interface preserves the vtable order of the System.Reflection.FieldInfo class members that can be accessed by unmanaged COM objects.

屬性

Attributes

為 COM 物件提供與版本無關的 Attributes 屬性之存取權。Provides COM objects with version-independent access to the Attributes property.

DeclaringType

為 COM 物件提供與版本無關的 DeclaringType 屬性之存取權。Provides COM objects with version-independent access to the DeclaringType property.

FieldHandle

為 COM 物件提供與版本無關的 FieldHandle 屬性之存取權。Provides COM objects with version-independent access to the FieldHandle property.

FieldType

為 COM 物件提供與版本無關的 FieldType 屬性之存取權。Provides COM objects with version-independent access to the FieldType property.

IsAssembly

為 COM 物件提供與版本無關的 IsAssembly 屬性之存取權。Provides COM objects with version-independent access to the IsAssembly property.

IsFamily

為 COM 物件提供與版本無關的 IsFamily 屬性之存取權。Provides COM objects with version-independent access to the IsFamily property.

IsFamilyAndAssembly

為 COM 物件提供與版本無關的 IsFamilyAndAssembly 屬性之存取權。Provides COM objects with version-independent access to the IsFamilyAndAssembly property.

IsFamilyOrAssembly

為 COM 物件提供與版本無關的 IsFamilyOrAssembly 屬性之存取權。Provides COM objects with version-independent access to the IsFamilyOrAssembly property.

IsInitOnly

為 COM 物件提供與版本無關的 IsInitOnly 屬性之存取權。Provides COM objects with version-independent access to the IsInitOnly property.

IsLiteral

為 COM 物件提供與版本無關的 IsLiteral 屬性之存取權。Provides COM objects with version-independent access to the IsLiteral property.

IsNotSerialized

為 COM 物件提供與版本無關的 IsNotSerialized 屬性之存取權。Provides COM objects with version-independent access to the IsNotSerialized property.

IsPinvokeImpl

為 COM 物件提供與版本無關的 IsPinvokeImpl 屬性之存取權。Provides COM objects with version-independent access to the IsPinvokeImpl property.

IsPrivate

為 COM 物件提供與版本無關的 IsPrivate 屬性之存取權。Provides COM objects with version-independent access to the IsPrivate property.

IsPublic

為 COM 物件提供與版本無關的 IsPublic 屬性之存取權。Provides COM objects with version-independent access to the IsPublic property.

IsSpecialName

為 COM 物件提供與版本無關的 IsSpecialName 屬性之存取權。Provides COM objects with version-independent access to the IsSpecialName property.

IsStatic

為 COM 物件提供與版本無關的 IsStatic 屬性之存取權。Provides COM objects with version-independent access to the IsStatic property.

MemberType

為 COM 物件提供與版本無關的 MemberType 屬性之存取權。Provides COM objects with version-independent access to the MemberType property.

Name

為 COM 物件提供與版本無關的 Name 屬性之存取權。Provides COM objects with version-independent access to the Name property.

ReflectedType

為 COM 物件提供與版本無關的 ReflectedType 屬性之存取權。Provides COM objects with version-independent access to the ReflectedType property.

方法

Equals(Object)

為 COM 物件提供與版本無關的 Equals(Object) 方法之存取權。Provides COM objects with version-independent access to the Equals(Object) method.

GetCustomAttributes(Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

為 COM 物件提供與版本無關的 GetCustomAttributes(Type, Boolean) 方法之存取權。Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetHashCode()

為 COM 物件提供與版本無關的 GetHashCode() 方法之存取權。Provides COM objects with version-independent access to the GetHashCode() method.

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

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。Maps a set of names to a corresponding set of dispatch identifiers.

GetType()

為 COM 物件提供與版本無關的 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)

擷取物件提供的類型資訊介面數目 (0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

GetValue(Object)

為 COM 物件提供與版本無關的 GetValue(Object) 方法之存取權。Provides COM objects with version-independent access to the GetValue(Object) method.

GetValueDirect(TypedReference)

為 COM 物件提供與版本無關的 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)

為 COM 物件提供與版本無關的 IsDefined(Type, Boolean) 方法之存取權。Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

SetValue(Object, Object)

為 COM 物件提供與版本無關的 SetValue(Object, Object) 方法之存取權。Provides COM objects with version-independent access to the SetValue(Object, Object) method.

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

為 COM 物件提供與版本無關的 SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) 方法之存取權。Provides COM objects with version-independent access to the SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) method.

SetValueDirect(TypedReference, Object)

為 COM 物件提供與版本無關的 SetValueDirect(TypedReference, Object) 方法之存取權。Provides COM objects with version-independent access to the SetValueDirect(TypedReference, Object) method.

ToString()

為 COM 物件提供與版本無關的 ToString() 方法之存取權。Provides COM objects with version-independent access to the ToString() method.

適用於