共用方式為


TypeDelegator 類別

定義

包裝 Type 物件,並將方法委派給該 Type

public ref class TypeDelegator : System::Reflection::TypeInfo
public ref class TypeDelegator : Type
public class TypeDelegator : System.Reflection.TypeInfo
[System.Serializable]
public class TypeDelegator : Type
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class TypeDelegator : Type
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class TypeDelegator : System.Reflection.TypeInfo
type TypeDelegator = class
    inherit TypeInfo
[<System.Serializable>]
type TypeDelegator = class
    inherit Type
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeDelegator = class
    inherit Type
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeDelegator = class
    inherit TypeInfo
Public Class TypeDelegator
Inherits TypeInfo
Public Class TypeDelegator
Inherits Type
繼承
TypeDelegator
繼承
TypeDelegator
屬性

備註

衍生自此類型,並只覆寫您必須在 中提供自定義的成員,以及程式所需的任何成員,且尚未由 TypeDelegator實作。

TypeDelegator 衍生自 System.Type,並實作 Type的大部分屬性和方法。 針對它實作的每個成員,TypeDelegator 會自動委派給內部 Type 對象的對應成員,該物件會作為建構函式的自變數提供。 這個內部 Type 物件會由 [protectedtypeImpl] 字段公開給衍生類別。

注意

即使成員本身只是繼承自 TypeTypeDelegator 的某些成員也有實作。 在這些情況下,實作是由覆寫的 protected 方法所提供,其名稱以 “Impl” 結尾。 例如,覆寫 GetMethodImpl 方法會提供 GetMethods 方法之所有多載的實作。 覆寫 GetAttributeFlagsImpl 方法會提供繼承屬性的實作,例如 IsPublicIsNestedAssembly

衍生類別可以提供公用建構函式,以 Type 對象作為其參數,並直接將該對象傳遞至 TypeDelegator(Type) 建構函式,也可以以其他方式設定內部 Type 物件。

如果衍生類別使用未由 TypeDelegator實作的成員,則必須覆寫該成員並提供實作。 最簡單的實作是在 typeImpl 字段所公開的內部 Type 物件上呼叫對應的成員,但您可以提供應用程式所需的任何實作。 如果您的應用程式或連結庫函式未使用這些成員,則不需要覆寫這些成員(例如,由 CodeTypeReference.CodeTypeReference(Type) 建構函式)。

下列虛擬方法(Visual Basic 中的Overridable 方法 Type)不是由 TypeDelegator實作:MakeGenericTypeGetGenericTypeDefinitionGetGenericArgumentsGetGenericParameterConstraintsMakeArrayTypeMakeByRefTypeMakePointerTypeGetEnumNamesGetEnumValuesGetEnumUnderlyingTypeGetTypeCodeImplIsEnumDefinedIsEquivalentTo

Type 的下列虛擬屬性(Visual Basic 中的Overridable 屬性)不是由 TypeDelegator實作:IsGenericTypeIsGenericTypeDefinitionIsGenericParameterContainsGenericParametersDeclaringMethodGenericParameterAttributesGenericParameterPositionIsSecurityCriticalIsSecuritySafeCriticalIsSecurityTransparent

建構函式

TypeDelegator()

使用預設屬性,初始化 TypeDelegator 類別的新實例。

TypeDelegator(Type)

初始化指定封裝實例之 TypeDelegator 類別的新實例。

欄位

typeImpl

值,表示型別資訊。

屬性

Assembly

取得實作型別的元件。

AssemblyQualifiedName

取得元件的完整名稱。

Attributes

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
Attributes

取得與 Type相關聯的屬性。

(繼承來源 Type)
BaseType

取得目前型別的基底型別。

ContainsGenericParameters

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
ContainsGenericParameters

取得值,指出目前 Type 物件是否具有尚未由特定型別取代的類型參數。

(繼承來源 Type)
CustomAttributes

取得集合,其中包含這個成員的自定義屬性。

(繼承來源 MemberInfo)
DeclaredConstructors

取得目前型別所宣告之建構函式的集合。

(繼承來源 TypeInfo)
DeclaredEvents

取得目前型別所定義之事件的集合。

(繼承來源 TypeInfo)
DeclaredFields

取得目前型別所定義的欄位集合。

(繼承來源 TypeInfo)
DeclaredMembers

取得目前型別所定義之成員的集合。

(繼承來源 TypeInfo)
DeclaredMethods

取得目前型別所定義之方法的集合。

(繼承來源 TypeInfo)
DeclaredNestedTypes

取得目前型別所定義的巢狀型別集合。

(繼承來源 TypeInfo)
DeclaredProperties

取得目前型別所定義之屬性的集合。

(繼承來源 TypeInfo)
DeclaringMethod

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
DeclaringMethod

取得表示宣告方法的 MethodBase,如果目前的 Type 代表泛型方法的類型參數。

(繼承來源 Type)
DeclaringType

取得宣告目前巢狀型別或泛型型別參數的類型。

(繼承來源 Type)
FullName

取得實作型別的完整名稱。

GenericParameterAttributes

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GenericParameterAttributes

取得 GenericParameterAttributes 旗標的組合,描述目前泛型型別參數的共變數和特殊條件約束。

(繼承來源 Type)
GenericParameterPosition

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GenericParameterPosition

Type 物件代表泛型型別或泛型方法的類型參數時,取得類型參數在宣告參數之泛型型別或方法的類型參數清單中的位置。

(繼承來源 Type)
GenericTypeArguments

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GenericTypeArguments

取得這個型別之泛型型別自變數的陣列。

(繼承來源 Type)
GenericTypeParameters

取得目前實例之泛型型別參數的陣列。

(繼承來源 TypeInfo)
GUID

取得實作型別的 GUID (全域唯一標識符)。

HasElementType

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
HasElementType

取得值,指出目前的 Type 是否包含或參考另一種型別;也就是說,目前 Type 是陣列、指標或以傳址方式傳遞。

(繼承來源 Type)
ImplementedInterfaces

取得目前型別所實作之介面的集合。

(繼承來源 TypeInfo)
IsAbstract

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsAbstract

取得值,指出 Type 是否為抽象且必須覆寫。

(繼承來源 Type)
IsAnsiClass

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsAnsiClass

取得值,指出是否已為 Type選取字串格式屬性 AnsiClass

(繼承來源 Type)
IsArray

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsArray

取得值,這個值表示型別是否為陣列。

(繼承來源 Type)
IsAutoClass

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsAutoClass

取得值,指出是否已為 Type選取字串格式屬性 AutoClass

(繼承來源 Type)
IsAutoLayout

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsAutoLayout

取得值,指出目前類型的字段是否由 Common Language Runtime 自動配置。

(繼承來源 Type)
IsByRef

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsByRef

取得值,指出是否以傳址方式傳遞 Type

(繼承來源 Type)
IsByRefLike

包裝 Type 物件,並將方法委派給該 Type

IsByRefLike

取得值,這個值表示型別是否為類似 byref 的結構。

(繼承來源 Type)
IsClass

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsClass

取得值,指出 Type 是類別還是委派;也就是說,不是實值型別或介面。

(繼承來源 Type)
IsCollectible

取得這個物件 typeImplIsCollectible 值,這個值表示這個物件是否為 MemberInfo 實作,是否為可收集 AssemblyLoadContext中保存的元件。

IsCollectible

取得值,這個值表示這個 MemberInfo 物件是否為可收集 AssemblyLoadContext中保存的元件。

(繼承來源 MemberInfo)
IsCOMObject

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsCOMObject

取得值,指出 Type 是否為 COM 物件。

(繼承來源 Type)
IsConstructedGenericType

取得值,這個值表示這個物件是否代表建構的泛型型別。

IsConstructedGenericType

取得值,這個值表示這個物件是否代表建構的泛型型別。 您可以建立已建構泛型類型的實例。

(繼承來源 Type)
IsContextful

取得值,指出是否可以在內容中裝載 Type

(繼承來源 Type)
IsEnum

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsEnum

取得值,指出目前的 Type 是否代表列舉。

(繼承來源 Type)
IsExplicitLayout

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsExplicitLayout

取得值,指出目前型別的欄位是否在明確指定的位移中配置。

(繼承來源 Type)
IsFunctionPointer

取得值,這個值表示目前 Type 是否為函式指標。

IsFunctionPointer

取得值,這個值表示目前 Type 是否為函式指標。

(繼承來源 Type)
IsGenericMethodParameter

包裝 Type 物件,並將方法委派給該 Type

IsGenericMethodParameter

取得值,這個值表示目前 Type 是否代表泛型方法定義中的型別參數。

(繼承來源 Type)
IsGenericParameter

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsGenericParameter

取得值,指出目前的 Type 是否代表泛型型別或方法定義中的型別參數。

(繼承來源 Type)
IsGenericType

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsGenericType

取得值,指出目前型別是否為泛型型別。

(繼承來源 Type)
IsGenericTypeDefinition

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsGenericTypeDefinition

取得值,指出目前的 Type 是否代表泛型型別定義,而其他泛型型別可以從中建構。

(繼承來源 Type)
IsGenericTypeParameter

包裝 Type 物件,並將方法委派給該 Type

IsGenericTypeParameter

取得值,這個值表示目前 Type 是否代表泛型型別定義中的型別參數。

(繼承來源 Type)
IsImport

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsImport

取得值,指出 Type 是否已套用 ComImportAttribute 屬性,指出它已從 COM 類型庫匯入。

(繼承來源 Type)
IsInterface

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsInterface

取得值,指出 Type 是否為介面;也就是說,不是類別或實值型別。

(繼承來源 Type)
IsLayoutSequential

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsLayoutSequential

取得值,指出目前類型的欄位是否依定義或發出至元數據的順序循序配置。

(繼承來源 Type)
IsMarshalByRef

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsMarshalByRef

取得值,指出是否以傳址方式封送處理 Type

(繼承來源 Type)
IsNested

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNested

取得值,指出目前的 Type 物件是否代表定義巢狀於另一個型別定義內的型別。

(繼承來源 Type)
IsNestedAssembly

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNestedAssembly

取得值,指出 Type 是否為巢狀結構,且只顯示在它自己的元件內。

(繼承來源 Type)
IsNestedFamANDAssem

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNestedFamANDAssem

取得值,指出 Type 是否為巢狀結構,且只對屬於其本身系列和本身元件的類別可見。

(繼承來源 Type)
IsNestedFamily

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNestedFamily

取得值,指出 Type 是否為巢狀,且只在其自己的系列內可見。

(繼承來源 Type)
IsNestedFamORAssem

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNestedFamORAssem

取得值,指出 Type 是巢狀的,而且只對屬於其自有系列或本身元件之類別可見。

(繼承來源 Type)
IsNestedPrivate

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNestedPrivate

取得值,指出 Type 是否為巢狀且宣告為私用。

(繼承來源 Type)
IsNestedPublic

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNestedPublic

取得值,指出類別是否為巢狀和宣告為公用。

(繼承來源 Type)
IsNotPublic

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsNotPublic

取得值,指出 Type 是否未宣告為公用。

(繼承來源 Type)
IsPointer

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsPointer

取得值,指出 Type 是否為指標。

(繼承來源 Type)
IsPrimitive

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsPrimitive

取得值,指出 Type 是否為其中一個基本型別。

(繼承來源 Type)
IsPublic

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsPublic

取得值,指出 Type 是否宣告為公用。

(繼承來源 Type)
IsSealed

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsSealed

取得值,指出是否宣告 Type 密封。

(繼承來源 Type)
IsSecurityCritical

取得值,這個值表示目前類型在目前信任層級是安全性關鍵或安全性安全關鍵,因此可以執行重大作業。

(繼承來源 Type)
IsSecuritySafeCritical

取得值,這個值表示目前類型在目前信任層級上是否為安全性安全關鍵;也就是說,它是否可以執行關鍵作業,而且可由透明程式代碼存取。

(繼承來源 Type)
IsSecurityTransparent

取得值,這個值表示目前類型在目前信任層級上是否透明,因此無法執行關鍵作業。

(繼承來源 Type)
IsSerializable

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsSerializable
已淘汰.

取得值,指出 Type 是否可串行化二進位。

(繼承來源 Type)
IsSignatureType

取得值,這個值表示型別是否為簽章型別。

(繼承來源 Type)
IsSpecialName

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsSpecialName

取得值,指出型別是否有需要特殊處理的名稱。

(繼承來源 Type)
IsSZArray

包裝 Type 物件,並將方法委派給該 Type

IsSZArray

取得值,這個值表示型別是否為數位型別,只能代表具有零下限的單一維度數位。

(繼承來源 Type)
IsTypeDefinition

包裝 Type 物件,並將方法委派給該 Type

IsTypeDefinition

取得值,這個值表示型別是否為型別定義。

(繼承來源 Type)
IsUnicodeClass

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsUnicodeClass

取得值,指出是否已為 Type選取字串格式屬性 UnicodeClass

(繼承來源 Type)
IsUnmanagedFunctionPointer

取得值,這個值表示目前 Type 是否為 Unmanaged 函式指標。

IsUnmanagedFunctionPointer

取得值,這個值表示目前 Type 是否為 Unmanaged 函式指標。

(繼承來源 Type)
IsValueType

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsValueType

取得值,指出 Type 是否為實值型別。

(繼承來源 Type)
IsVariableBoundArray

包裝 Type 物件,並將方法委派給該 Type

IsVariableBoundArray

取得值,這個值表示型別是否為數位類型,可代表多維度陣列或具有任意下限的陣列。

(繼承來源 Type)
IsVisible

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsVisible

取得值,指出元件外部的程式代碼是否可以存取 Type

(繼承來源 Type)
MemberType

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
MemberType

取得 MemberTypes 值,指出這個成員是型別或巢狀型別。

(繼承來源 Type)
MetadataToken

取得值,識別元數據中的這個實體。

MetadataToken

取得識別元數據專案的值。

(繼承來源 MemberInfo)
Module

取得包含實作型別的模組。

Name

取得實作型別的名稱,並移除路徑。

Namespace

取得實作型別的命名空間。

ReflectedType

取得用來取得這個成員的類別物件。

(繼承來源 Type)
StructLayoutAttribute

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
StructLayoutAttribute

取得描述目前型別配置 StructLayoutAttribute

(繼承來源 Type)
TypeHandle

取得實作型別之內部元數據表示的句柄。

TypeInitializer

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
TypeInitializer

取得型別的初始化表達式。

(繼承來源 Type)
UnderlyingSystemType

取得代表實作型別的基礎 Type

方法

AsType()

Type 物件的形式傳回目前的型別。

(繼承來源 TypeInfo)
Equals(Object)

判斷目前 Type 對象的基礎系統類型是否與指定之 Object的基礎系統類型相同。

(繼承來源 Type)
Equals(Type)

判斷目前 Type 的基礎系統類型是否與指定 Type的基礎系統類型相同。

(繼承來源 Type)
FindInterfaces(TypeFilter, Object)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
FindInterfaces(TypeFilter, Object)

傳回 Type 對象的陣列,代表目前 Type所實作或繼承之介面的篩選清單。

(繼承來源 Type)
FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)

傳回所指定成員型別 MemberInfo 對象的篩選陣列。

(繼承來源 Type)
GetArrayRank()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetArrayRank()

取得陣列中的維度數目。

(繼承來源 Type)
GetAttributeFlagsImpl()

取得指派給 TypeDelegator的屬性。

GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

使用指定的系結條件約束和指定的呼叫慣例,搜尋其參數符合指定自變數類型和修飾詞的建構函式。

(繼承來源 Type)
GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[])

使用指定的系結條件約束,搜尋其參數符合指定自變數類型和修飾詞的建構函式。

(繼承來源 Type)
GetConstructor(BindingFlags, Type[])

使用指定的系結條件約束,搜尋其參數符合指定自變數類型的建構函式。

(繼承來源 Type)
GetConstructor(Type[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetConstructor(Type[])

搜尋公用實例建構函式,其參數符合指定數位中的類型。

(繼承來源 Type)
GetConstructorImpl(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

取得實作 TypeDelegator的建構函式。

GetConstructors()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetConstructors()

傳回針對目前 Type定義的所有公用建構函式。

(繼承來源 Type)
GetConstructors(BindingFlags)

傳回 ConstructorInfo 物件的數位,代表目前 TypeDelegator所包裝之型別所定義的建構函式。

GetCustomAttributes(Boolean)

傳回為此類型定義的所有自定義屬性,指定是否要搜尋型別的繼承鏈結。

GetCustomAttributes(Type, Boolean)

傳回依型別識別的自定義屬性陣列。

GetCustomAttributesData()

傳回 CustomAttributeData 物件清單,代表已套用至目標成員之屬性的相關數據。

(繼承來源 MemberInfo)
GetDeclaredEvent(String)

傳回 物件,表示目前型別所宣告的指定事件。

(繼承來源 TypeInfo)
GetDeclaredField(String)

傳回 物件,表示目前型別所宣告的指定欄位。

(繼承來源 TypeInfo)
GetDeclaredMethod(String)

傳回 物件,表示目前型別所宣告的指定方法。

(繼承來源 TypeInfo)
GetDeclaredMethods(String)

傳回集合,其中包含目前類型上宣告的所有方法,這些方法符合指定的名稱。

(繼承來源 TypeInfo)
GetDeclaredNestedType(String)

傳回 物件,表示目前型別所宣告的指定巢狀型別。

(繼承來源 TypeInfo)
GetDeclaredProperty(String)

傳回 物件,表示目前型別所宣告的指定屬性。

(繼承來源 TypeInfo)
GetDefaultMembers()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetDefaultMembers()

搜尋已設定 DefaultMemberAttribute 之目前 Type 所定義的成員。

(繼承來源 Type)
GetElementType()

傳回目前陣列、指標或 ByRef 所包含或參考之物件的 Type

GetEnumName(Object)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetEnumName(Object)

傳回目前列舉型別具有指定值之常數的名稱。

(繼承來源 Type)
GetEnumNames()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetEnumNames()

傳回目前列舉型別的成員名稱。

(繼承來源 Type)
GetEnumUnderlyingType()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetEnumUnderlyingType()

傳回目前列舉型別的基礎型別。

(繼承來源 Type)
GetEnumValues()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetEnumValues()

傳回目前列舉型別中常數值的陣列。

(繼承來源 Type)
GetEnumValuesAsUnderlyingType()

擷取這個列舉型別之基礎型別常數之值的陣列。

(繼承來源 Type)
GetEvent(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetEvent(String)

傳回代表指定公用事件的 EventInfo 物件。

(繼承來源 Type)
GetEvent(String, BindingFlags)

傳回指定的事件。

GetEvents()

傳回 EventInfo 對象的陣列,代表目前 TypeDelegator所宣告或繼承的所有公用事件。

GetEvents(BindingFlags)

傳回目前 TypeDelegator所宣告或繼承 bindingAttr 中指定的事件。

GetField(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetField(String)

搜尋具有指定名稱的公用欄位。

(繼承來源 Type)
GetField(String, BindingFlags)

會傳回 FieldInfo 物件,代表具有指定名稱的欄位。

GetFields()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetFields()

傳回目前 Type的所有公用字段。

(繼承來源 Type)
GetFields(BindingFlags)

傳回 FieldInfo 物件的數位,代表目前 TypeDelegator所包裝之型別所定義的數據欄位。

GetFunctionPointerCallingConventions()

在衍生類別中覆寫時,傳回目前函式指標的呼叫慣例 Type

GetFunctionPointerCallingConventions()

在衍生類別中覆寫時,傳回目前函式指標的呼叫慣例 Type

(繼承來源 Type)
GetFunctionPointerParameterTypes()

在衍生類別中覆寫時,傳回目前函式指標的參數類型 Type

GetFunctionPointerParameterTypes()

在衍生類別中覆寫時,傳回目前函式指標的參數類型 Type

(繼承來源 Type)
GetFunctionPointerReturnType()

在衍生類別中覆寫時,傳回目前函式指標的傳回型別 Type

GetFunctionPointerReturnType()

在衍生類別中覆寫時,傳回目前函式指標的傳回型別 Type

(繼承來源 Type)
GetGenericArguments()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetGenericArguments()

傳回 Type 對象的數位,代表封閉式泛型型別的類型自變數或泛型型別定義的型別參數。

(繼承來源 Type)
GetGenericParameterConstraints()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetGenericParameterConstraints()

傳回 Type 對象的陣列,代表目前泛型型別參數的條件約束。

(繼承來源 Type)
GetGenericTypeDefinition()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetGenericTypeDefinition()

會傳回 Type 物件,代表可從中建構目前泛型型別的泛型型別定義。

(繼承來源 Type)
GetHashCode()

傳回這個實例的哈希碼。

(繼承來源 Type)
GetInterface(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetInterface(String)

搜尋具有指定名稱的介面。

(繼承來源 Type)
GetInterface(String, Boolean)

傳回由目前 TypeDelegator包裝之型別所實作的指定介面。

GetInterfaceMap(Type)

傳回指定介面類型的介面對應。

GetInterfaces()

傳回在目前類別及其基類上實作的所有介面。

GetMember(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMember(String)

搜尋具有指定名稱的公用成員。

(繼承來源 Type)
GetMember(String, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMember(String, BindingFlags)

使用指定的系結條件約束搜尋指定的成員。

(繼承來源 Type)
GetMember(String, MemberTypes, BindingFlags)

傳回指定 nametypebindingAttr所指定的成員(屬性、方法、建構函式、欄位、事件和巢狀類型)。

GetMembers()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMembers()

傳回目前 Type的所有公用成員。

(繼承來源 Type)
GetMembers(BindingFlags)

傳回 bindingAttr所指定的成員。

GetMemberWithSameMetadataDefinitionAs(MemberInfo)

搜尋目前 Type 上符合指定 MemberInfoMemberInfo

GetMemberWithSameMetadataDefinitionAs(MemberInfo)

搜尋目前 Type 上符合指定 MemberInfoMemberInfo

(繼承來源 Type)
GetMethod(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMethod(String)

搜尋具有指定名稱的公用方法。

(繼承來源 Type)
GetMethod(String, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMethod(String, BindingFlags)

使用指定的系結條件約束搜尋指定的方法。

(繼承來源 Type)
GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

使用指定的系結條件約束和指定的呼叫慣例,搜尋指定的方法,其參數符合指定的自變數類型和修飾詞。

(繼承來源 Type)
GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

使用指定的系結條件約束,搜尋指定的方法,其參數符合指定的自變數類型和修飾詞。

(繼承來源 Type)
GetMethod(String, BindingFlags, Type[])

使用指定的系結條件約束,搜尋指定的方法,其參數符合指定的自變數類型。

(繼承來源 Type)
GetMethod(String, Int32, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

使用指定的系結條件約束和指定的呼叫慣例,搜尋指定的方法,其參數符合指定的泛型參數計數、自變數類型和修飾詞。

(繼承來源 Type)
GetMethod(String, Int32, BindingFlags, Binder, Type[], ParameterModifier[])

使用指定的系結條件約束,搜尋指定的方法,其參數符合指定的泛型參數計數、自變數類型和修飾詞。

(繼承來源 Type)
GetMethod(String, Int32, BindingFlags, Type[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 Type)
GetMethod(String, Int32, Type[])

搜尋指定的公用方法,其參數符合指定的泛型參數計數和自變數類型。

(繼承來源 Type)
GetMethod(String, Int32, Type[], ParameterModifier[])

搜尋指定的公用方法,其參數符合指定的泛型參數計數、自變數類型和修飾詞。

(繼承來源 Type)
GetMethod(String, Type[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMethod(String, Type[])

搜尋指定的公用方法,其參數符合指定的自變數類型。

(繼承來源 Type)
GetMethod(String, Type[], ParameterModifier[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMethod(String, Type[], ParameterModifier[])

搜尋指定的公用方法,其參數符合指定的自變數類型和修飾詞。

(繼承來源 Type)
GetMethodImpl(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

使用指定的系結條件約束和指定的呼叫慣例,搜尋指定的方法,其參數符合指定的自變數類型和修飾詞。

GetMethodImpl(String, Int32, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])

在衍生類別中覆寫時,使用指定的系結條件約束和指定的呼叫慣例,搜尋參數符合指定泛型參數計數、自變數類型和修飾詞的指定方法。

(繼承來源 Type)
GetMethods()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetMethods()

傳回目前 Type的所有公用方法。

(繼承來源 Type)
GetMethods(BindingFlags)

傳回 MethodInfo 物件的陣列,表示目前 TypeDelegator所包裝之型別的指定方法。

GetNestedType(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetNestedType(String)

搜尋具有指定名稱的公用巢狀類型。

(繼承來源 Type)
GetNestedType(String, BindingFlags)

傳回由 name 所指定的巢狀類型,並在 bindingAttr 中宣告或繼承目前 TypeDelegator所表示的型別。

GetNestedTypes()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetNestedTypes()

傳回目前 Type中巢狀的公用型別。

(繼承來源 Type)
GetNestedTypes(BindingFlags)

傳回 bindingAttr 中指定的巢狀型別,這些型別是由目前 TypeDelegator所包裝的型別所宣告或繼承。

GetOptionalCustomModifiers()

在衍生類別中覆寫時,傳回目前 Type的選擇性自定義修飾詞。

(繼承來源 Type)
GetProperties()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperties()

傳回目前 Type的所有公用屬性。

(繼承來源 Type)
GetProperties(BindingFlags)

傳回 PropertyInfo 物件的陣列,表示目前 TypeDelegator所包裝之型別的屬性。

GetProperty(String)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperty(String)

搜尋具有指定名稱的公用屬性。

(繼承來源 Type)
GetProperty(String, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperty(String, BindingFlags)

使用指定的系結條件約束搜尋指定的屬性。

(繼承來源 Type)
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

使用指定的系結條件約束,搜尋指定的屬性,其參數符合指定的自變數類型和修飾詞。

(繼承來源 Type)
GetProperty(String, Type)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperty(String, Type)

搜尋具有指定名稱和傳回類型的公用屬性。

(繼承來源 Type)
GetProperty(String, Type, Type[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperty(String, Type, Type[])

搜尋指定的公用屬性,其參數符合指定的自變數類型。

(繼承來源 Type)
GetProperty(String, Type, Type[], ParameterModifier[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperty(String, Type, Type[], ParameterModifier[])

搜尋指定的公用屬性,其參數符合指定的自變數類型和修飾詞。

(繼承來源 Type)
GetProperty(String, Type[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
GetProperty(String, Type[])

搜尋指定的公用屬性,其參數符合指定的自變數類型。

(繼承來源 Type)
GetPropertyImpl(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

在衍生類別中覆寫時,使用指定的系結條件約束,搜尋參數符合指定自變數類型和修飾詞的指定屬性。

GetRequiredCustomModifiers()

在衍生類別中覆寫時,傳回目前 Type的必要自定義修飾詞。

(繼承來源 Type)
GetType()

取得目前的 Type

(繼承來源 Type)
GetTypeCodeImpl()

傳回這個 Type 實例的基礎型別程序代碼。

(繼承來源 Type)
HasElementTypeImpl()

取得值,指出目前的 Type 是否包含或參考另一種型別;也就是說,目前 Type 是陣列、指標或 ByRef。

HasSameMetadataDefinitionAs(MemberInfo)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 MemberInfo)
InvokeMember(String, BindingFlags, Binder, Object, Object[])

使用指定的系結條件約束和比對指定的自變數清單,叫用指定的成員。

(繼承來源 Type)
InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo)

使用指定的系結條件約束,並比對指定的自變數清單和文化特性,叫用指定的成員。

(繼承來源 Type)
InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

叫用指定的成員。 要叫用的方法必須可供存取,並在指定的系結器和調用屬性的條件約束下,提供與指定自變數清單最特定的相符專案。

IsArrayImpl()

傳回值,指出 Type 是否為陣列。

IsAssignableFrom(Type)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsAssignableFrom(Type)

判斷指定的型別實例 c 是否可以指派給目前型別的變數。

(繼承來源 Type)
IsAssignableFrom(TypeInfo)

傳回值,這個值表示是否可以將指定的型別指派給這個型別。

IsAssignableTo(Type)

判斷目前的型別是否可以指派給指定之 targetType的變數。

(繼承來源 Type)
IsByRefImpl()

傳回值,這個值表示是否以傳址方式傳遞 Type

IsCOMObjectImpl()

傳回值,指出 Type 是否為 COM 物件。

IsContextfulImpl()

實作 IsContextful 屬性,並判斷 Type 是否可以裝載於內容中。

(繼承來源 Type)
IsDefined(Type, Boolean)

指出是否已定義 attributeType 所識別的自定義屬性。

IsEnumDefined(Object)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsEnumDefined(Object)

傳回值,這個值表示指定的值是否存在於目前的列舉型別中。

(繼承來源 Type)
IsEquivalentTo(Type)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsEquivalentTo(Type)

判斷兩個 COM 類型是否具有相同的身分識別,而且符合類型等價的資格。

(繼承來源 Type)
IsInstanceOfType(Object)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsInstanceOfType(Object)

判斷指定的物件是否為目前 Type的實例。

(繼承來源 Type)
IsMarshalByRefImpl()

實作 IsMarshalByRef 屬性,並判斷 Type 是否以傳址方式封送處理。

(繼承來源 Type)
IsPointerImpl()

傳回值,指出 Type 是否為指標。

IsPrimitiveImpl()

傳回值,這個值表示 Type 是否為其中一個基本類型。

IsSubclassOf(Type)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
IsSubclassOf(Type)

判斷目前的 Type 是否衍生自指定的 Type

(繼承來源 Type)
IsValueTypeImpl()

傳回值,指出型別是否為實值型別;也就是說,不是類別或介面。

MakeArrayType()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
MakeArrayType()

傳回 Type 物件,代表目前型別的一維陣列,其下限為零。

(繼承來源 Type)
MakeArrayType(Int32)

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
MakeArrayType(Int32)

傳回 Type 物件,代表目前型別的陣列,具有指定的維度數目。

(繼承來源 Type)
MakeByRefType()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
MakeByRefType()

傳回 Type 對象,這個物件表示噹噹做 ref 參數傳遞時目前的型別(在 Visual Basic 中為ByRef 參數)。

(繼承來源 Type)
MakeGenericType(Type[])

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
MakeGenericType(Type[])

將型別數位的元素取代為目前泛型型別定義的型別參數,並傳回代表所產生建構型別的 Type 物件。

(繼承來源 Type)
MakePointerType()

包裝 Type 物件,並將方法委派給該 Type

(繼承來源 TypeInfo)
MakePointerType()

會傳回代表目前型別指標的 Type 物件。

(繼承來源 Type)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回 String,表示目前 Type的名稱。

(繼承來源 Type)

明確介面實作

_MemberInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

將一組名稱對應至對應的分派標識碼集。

(繼承來源 MemberInfo)
_MemberInfo.GetType()

取得代表 MemberInfo 類別的 Type 物件。

(繼承來源 MemberInfo)
_MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

擷取 物件的類型資訊,然後可用來取得介面的類型資訊。

(繼承來源 MemberInfo)
_MemberInfo.GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目(0 或 1)。

(繼承來源 MemberInfo)
_MemberInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

提供物件所公開屬性和方法的存取權。

(繼承來源 MemberInfo)
_Type.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

將一組名稱對應至對應的分派標識碼集。

(繼承來源 Type)
_Type.GetTypeInfo(UInt32, UInt32, IntPtr)

擷取 物件的類型資訊,然後可用來取得介面的類型資訊。

(繼承來源 Type)
_Type.GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目(0 或 1)。

(繼承來源 Type)
_Type.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

提供物件所公開屬性和方法的存取權。

(繼承來源 Type)
IReflectableType.GetTypeInfo()

傳回目前型別的表示法,做為 TypeInfo 物件。

(繼承來源 TypeInfo)

擴充方法

GetCustomAttribute(MemberInfo, Type)

擷取套用至指定成員之指定型別的自定義屬性。

GetCustomAttribute(MemberInfo, Type, Boolean)

擷取套用至指定成員之指定型別的自定義屬性,並選擇性地檢查該成員的上階。

GetCustomAttribute<T>(MemberInfo)

擷取套用至指定成員之指定型別的自定義屬性。

GetCustomAttribute<T>(MemberInfo, Boolean)

擷取套用至指定成員之指定型別的自定義屬性,並選擇性地檢查該成員的上階。

GetCustomAttributes(MemberInfo)

擷取套用至指定成員的自定義屬性集合。

GetCustomAttributes(MemberInfo, Boolean)

擷取套用至指定成員的自定義屬性集合,並選擇性地檢查該成員的上階。

GetCustomAttributes(MemberInfo, Type)

擷取套用至指定成員之指定型別的自定義屬性集合。

GetCustomAttributes(MemberInfo, Type, Boolean)

擷取套用至指定成員之指定型別的自定義屬性集合,並選擇性地檢查該成員的上階。

GetCustomAttributes<T>(MemberInfo)

擷取套用至指定成員之指定型別的自定義屬性集合。

GetCustomAttributes<T>(MemberInfo, Boolean)

擷取套用至指定成員之指定型別的自定義屬性集合,並選擇性地檢查該成員的上階。

IsDefined(MemberInfo, Type)

指出指定的型別的自定義屬性是否套用至指定的成員。

IsDefined(MemberInfo, Type, Boolean)

指出指定類型的自定義屬性是否套用至指定的成員,以及選擇性地套用至其上階。

GetTypeInfo(Type)

傳回指定型別的 TypeInfo 表示。

GetMetadataToken(MemberInfo)

如果有的話,取得指定成員的元數據令牌。

HasMetadataToken(MemberInfo)

傳回值,這個值表示元數據令牌是否可供指定的成員使用。

GetRuntimeEvent(Type, String)

擷取代表指定事件的物件。

GetRuntimeEvents(Type)

擷取集合,代表指定型別上定義的所有事件。

GetRuntimeField(Type, String)

擷取代表指定欄位的物件。

GetRuntimeFields(Type)

擷取集合,代表指定型別上定義的所有欄位。

GetRuntimeInterfaceMap(TypeInfo, Type)

傳回指定型別和指定介面的介面對應。

GetRuntimeMethod(Type, String, Type[])

擷取代表指定方法的物件。

GetRuntimeMethods(Type)

擷取集合,表示指定型別上定義的所有方法。

GetRuntimeProperties(Type)

擷取集合,代表指定型別上定義的所有屬性。

GetRuntimeProperty(Type, String)

擷取代表指定屬性的物件。

GetConstructor(Type, Type[])

包裝 Type 物件,並將方法委派給該 Type

GetFields(Type)

包裝 Type 物件,並將方法委派給該 Type

GetFields(Type, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

GetGenericArguments(Type)

包裝 Type 物件,並將方法委派給該 Type

GetInterfaces(Type)

包裝 Type 物件,並將方法委派給該 Type

GetMember(Type, String)

包裝 Type 物件,並將方法委派給該 Type

GetMembers(Type)

包裝 Type 物件,並將方法委派給該 Type

GetMethods(Type, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

GetNestedTypes(Type, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

GetProperties(Type)

包裝 Type 物件,並將方法委派給該 Type

GetProperties(Type, BindingFlags)

包裝 Type 物件,並將方法委派給該 Type

GetProperty(Type, String)

包裝 Type 物件,並將方法委派給該 Type

GetProperty(Type, String, Type)

包裝 Type 物件,並將方法委派給該 Type

GetProperty(Type, String, Type, Type[])

包裝 Type 物件,並將方法委派給該 Type

IsAssignableFrom(Type, Type)

包裝 Type 物件,並將方法委派給該 Type

IsInstanceOfType(Type, Object)

包裝 Type 物件,並將方法委派給該 Type

適用於