CodeDomSerializerBase.GetReflectionTypeHelper Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.