DomainClassXmlSerializer::WriteMoniker Method (SerializationContext^, ModelElement^, XmlWriter^, ModelElement^, DomainRelationshipXmlSerializer^)

 

Serializes, from a moniker, the model element instance that associated with this serializer instance into XML.

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

public:
virtual void WriteMoniker(
	SerializationContext^ serializationContext,
	ModelElement^ element,
	XmlWriter^ writer,
	ModelElement^ sourceRolePlayer,
	DomainRelationshipXmlSerializer^ relSerializer
)

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: System.Xml::XmlWriter^

The XmlReader from which to write.

sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The source role-player model element from which the moniker is referenced.

relSerializer
Type: Microsoft.VisualStudio.Modeling::DomainRelationshipXmlSerializer^

The serializer for domain relationships.

Serializes, from a moniker, the model element instance that associated with this serializer instance into XML.

Return to top
Show: