Share via


DomainTypeSerializer.WriteMoniker Method

Public WriteMoniker() method that writes a monikerized DomainType 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)

Syntax

'Declaration
Public Overrides Sub WriteMoniker ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter, _
    sourceRolePlayer As ModelElement, _
    relSerializer As DomainRelationshipXmlSerializer _
)
public override void WriteMoniker(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer,
    ModelElement sourceRolePlayer,
    DomainRelationshipXmlSerializer relSerializer
)
public:
virtual void WriteMoniker(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlWriter^ writer, 
    ModelElement^ sourceRolePlayer, 
    DomainRelationshipXmlSerializer^ relSerializer
) override
abstract WriteMoniker : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter * 
        sourceRolePlayer:ModelElement * 
        relSerializer:DomainRelationshipXmlSerializer -> unit  
override WriteMoniker : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter * 
        sourceRolePlayer:ModelElement * 
        relSerializer:DomainRelationshipXmlSerializer -> unit
public override function WriteMoniker(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter, 
    sourceRolePlayer : ModelElement, 
    relSerializer : DomainRelationshipXmlSerializer
)

Parameters

  • writer
    Type: XmlWriter

    XmlWriter to write serialized data to.

.NET Framework Security

See Also

Reference

DomainTypeSerializer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace