XmlSerializationDefinitionSerializer.WriteMoniker Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Public WriteMoniker() method that writes a monikerized XmlSerializationDefinition 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);
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);
override this.WriteMoniker : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRelationshipXmlSerializer -> unit
Public Overrides Sub WriteMoniker (serializationContext As SerializationContext, element As ModelElement, writer As XmlWriter, sourceRolePlayer As ModelElement, relSerializer As DomainRelationshipXmlSerializer)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
XmlSerializationDefinition instance to be monikerized.
- writer
- XmlWriter
XmlWriter to write serialized data to.
- sourceRolePlayer
- ModelElement
Source element that references the XmlSerializationDefinition instance being monikerized.
- relSerializer
- DomainRelationshipXmlSerializer
Serializer that handles the relationship connecting the source element to the XmlSerializationDefinition instance being monikerized.