Share via


DomainClassXmlSerializer.WriteMoniker Method

Serializes, from a moniker, the model element instance that associated with this serializer instance into XML.

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

Syntax

'Declaration
Public Overridable Sub WriteMoniker ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter, _
    sourceRolePlayer As ModelElement, _
    relSerializer As DomainRelationshipXmlSerializer _
)
public virtual 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
)
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 function WriteMoniker(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter, 
    sourceRolePlayer : ModelElement, 
    relSerializer : DomainRelationshipXmlSerializer
)

Parameters

Remarks

Serializes, from a moniker, the model element instance that associated with this serializer instance into XML.

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace