共用方式為


ITypeReflector 成員

代表產生、 設定,以及獲得物件中的值,抽象類型系統中的介面。

ITypeReflector 類型公開下列成員。

方法

  名稱 描述
公用方法 Get(ITypeDescriptor, ITypeDescriptor, Object) 從指定的父物件取得值。
公用方法 Get(ITypeDescriptor, ITypeDescriptor, Object, Int32) 從指定的集合,指定索引取得的值。
公用方法 GetCollectionSize 取得指定集合中的項目數目。
公用方法 GetDotNetType 取得指定TypeDescriptor對應的.NET Framework類型。
公用方法 Instantiate(ITypeDescriptor) 產生對應至指定的TypeDescriptor,而不使用已定義的預設值的物件。
公用方法 Instantiate(ITypeDescriptor, IMethodInstance) 產生對應到指定TypeDescriptor ,用於指定MethodInstance定義的預設值的物件。
公用方法 Instantiate(ITypeDescriptor, Int32) 產生的集合,而不使用已定義的預設值對應到指定的TypeDescriptor與指定的容量。
公用方法 Instantiate(ITypeDescriptor, Int32, IMethodInstance) 產生對應到指定TypeDescriptor ,用於指定MethodInstance定義的預設值的集合。
公用方法 ResolveDotNetType 取得特定類型的名稱對應的.NET Framework類型。
公用方法 Set(ITypeDescriptor, ITypeDescriptor, Object, Object) 設定中指定的父物件指定的值。
公用方法 Set(ITypeDescriptor, ITypeDescriptor, Object, Object, Int32) 指定的集合指定的索引設定指定的值。

頁首

請參閱

參照

ITypeReflector 介面

Microsoft.BusinessData.Infrastructure 命名空間