Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Serializes one BinaryLinkShape instance into XML.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overrides Sub Write ( _
serializationContext As SerializationContext, _
element As ModelElement, _
writer As XmlWriter, _
rootElementSettings As RootElementSettings _
)
public override void Write(
SerializationContext serializationContext,
ModelElement element,
XmlWriter writer,
RootElementSettings rootElementSettings
)
public:
virtual void Write(
SerializationContext^ serializationContext,
ModelElement^ element,
XmlWriter^ writer,
RootElementSettings^ rootElementSettings
) override
abstract Write :
serializationContext:SerializationContext *
element:ModelElement *
writer:XmlWriter *
rootElementSettings:RootElementSettings -> unit
override Write :
serializationContext:SerializationContext *
element:ModelElement *
writer:XmlWriter *
rootElementSettings:RootElementSettings -> unit
public override function Write(
serializationContext : SerializationContext,
element : ModelElement,
writer : XmlWriter,
rootElementSettings : RootElementSettings
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
Serialization context.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
BinaryLinkShape instance to be serialized.
- writer
Type: System.Xml.XmlWriter
XmlWriter to write serialized data to.
- rootElementSettings
Type: Microsoft.VisualStudio.Modeling.RootElementSettings
The root element settings if the passed in element is serialized as a root element in the XML. The root element contains additional information like schema target namespace, version, etc. This should only be passed for root-level elements. Set to null for other elements.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.