This topic has not yet been rated - Rate this topic

DomainClassXmlSerializer.WriteRootElement Method

Serializes the root model element instance associated with this serializer instance into XML.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
public virtual void WriteRootElement(
	SerializationContext serializationContext,
	ModelElement element,
	XmlWriter writer
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

The serialization context that stores serialization errors, if any.

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

The model element instance that will be serialized.

writer
Type: XmlWriter

The XmlReader from which to write.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.