CommentShapeSerializer.WriteMoniker Method

Definition

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

public:
 override void WriteMoniker(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlWriter ^ writer, Microsoft::VisualStudio::Modeling::ModelElement ^ sourceRolePlayer, Microsoft::VisualStudio::Modeling::DomainRelationshipXmlSerializer ^ relSerializer);

Parameters

serializationContext
SerializationContext

Serialization context.

element
ModelElement

CommentShape instance to be monikerized.

writer
XmlWriter

XmlWriter to write serialized data to.

sourceRolePlayer
ModelElement

Source element that references the CommentShape instance being monikerized.

relSerializer
DomainRelationshipXmlSerializer

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

Applies to

Produkt Verze
Visual Studio SDK 2017, 2019, 2022