共用方式為


BinaryLinkShapeSerializerBase.WritePropertiesAsAttributes Method

Write all properties that need to be serialized as XML attributes.

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

Syntax

'宣告
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

Remarks

Write all properties that have to be serialized as XML attributes.

.NET Framework Security

See Also

Reference

BinaryLinkShapeSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace