DomainClassXmlSerializer::CreateInstance Method (SerializationContext^, XmlReader^, Partition^)

 

Creates a model element instance.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

protected:
virtual ModelElement^ CreateInstance(
	SerializationContext^ serializationContext,
	XmlReader^ reader,
	Partition^ partition
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling::SerializationContext^

The serialization context that stores serialization errors, if any.

reader
Type: System.Xml::XmlReader^

The XmlReader from which to read.

partition
Type: Microsoft.VisualStudio.Modeling::Partition^

The new element instance should be created in the store associated with this partition.

Return Value

Type: Microsoft.VisualStudio.Modeling::ModelElement^

The model element instance.

Return to top
Show: