CompartmentShapeHasBaseCompartmentShapeSerializer.WriteMoniker Method

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

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

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

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

Serialization context.

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

CompartmentShapeHasBaseCompartmentShape instance to be monikerized.

writer
Type: XmlWriter

XmlWriter to write serialized data to.

sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement

Source element that references the CompartmentShapeHasBaseCompartmentShape instance being monikerized.

relSerializer
Type: Microsoft.VisualStudio.Modeling.DomainRelationshipXmlSerializer

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

Show: