次の方法で共有


DomainClassXmlSerializer.Write Method (SerializationContext, ModelElement, XmlWriter)

Serializes the model element instance 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

'宣言
Public Sub Write ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter _
)
public void Write(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer
)
public:
void Write(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlWriter^ writer
)
member Write : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit 
public function Write(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter
)

Parameters

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Write Overload

Microsoft.VisualStudio.Modeling Namespace