Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Write all properties that need to be serialized as XML attributes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overrides Sub WritePropertiesAsAttributes ( _
serializationContext As SerializationContext, _
element As ModelElement, _
writer As XmlWriter _
)
protected override void WritePropertiesAsAttributes(
SerializationContext serializationContext,
ModelElement element,
XmlWriter writer
)
protected:
virtual void WritePropertiesAsAttributes(
SerializationContext^ serializationContext,
ModelElement^ element,
XmlWriter^ writer
) override
abstract WritePropertiesAsAttributes :
serializationContext:SerializationContext *
element:ModelElement *
writer:XmlWriter -> unit
override WritePropertiesAsAttributes :
serializationContext:SerializationContext *
element:ModelElement *
writer:XmlWriter -> unit
protected override function WritePropertiesAsAttributes(
serializationContext : SerializationContext,
element : ModelElement,
writer : XmlWriter
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerialization context.
element
Type: Microsoft.VisualStudio.Modeling.ModelElementNodeShape instance to be serialized.
writer
Type: XmlWriterXmlWriter to write serialized data to.
.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.