Редагувати

Поділитися через


CodeDomSerializerBase.GetReflectionTypeHelper Method

Definition

Gets a reflection type generated from object metadata.

protected:
 static Type ^ GetReflectionTypeHelper(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ instance);
protected static Type GetReflectionTypeHelper (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance);
static member GetReflectionTypeHelper : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> Type
Protected Shared Function GetReflectionTypeHelper (manager As IDesignerSerializationManager, instance As Object) As Type

Parameters

manager
IDesignerSerializationManager

The serialization manager.

instance
Object

The object to use metadata from.

Returns

A reflection type generated from the metadata of object.

Remarks

The return value will not be equal to the type of object and should not be used for comparison with non-reflection types.

Applies to