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

 

Public WriteMoniker() method that writes a monikerized Compartment instance into XML.

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

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

Parameters

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

Serialization context.

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

Compartment instance to be monikerized.

writer
Type: System.Xml::XmlWriter^

XmlWriter to write serialized data to.

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

Source element that references the Compartment instance being monikerized.

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

Serializer that handles the relationship connecting the source element to the Compartment instance being monikerized.

Return to top
Show: