ReflectionContext.GetTypeForObject(Object) Method

Definition

Gets the representation of the type of the specified object in this reflection context.

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

Parameters

value
Object

The object to represent.

Returns

An object that represents the type of the specified object.

Applies to