ReflectionContext.GetTypeForObject(Object) 方法

定義

取得該物體在此反射上下文中類型表示。

public:
 virtual System::Reflection::TypeInfo ^ GetTypeForObject(System::Object ^ value);
public virtual System.Reflection.TypeInfo GetTypeForObject(object value);
abstract member GetTypeForObject : obj -> System.Reflection.TypeInfo
override this.GetTypeForObject : obj -> System.Reflection.TypeInfo
Public Overridable Function GetTypeForObject (value As Object) As TypeInfo

參數

value
Object

要代表的對象。

傳回

一個代表指定物件類型的物件。

適用於