BinaryLinkShapeSerializer.UseRelationshipId Method

Calculate whether the BinaryLinkShape should serialize its relationship to the presented link using an Id or its source and target shapes.

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 Function UseRelationshipId ( _
    link As ElementLink, _
    serializationContext As SerializationContext _
) As Boolean
protected bool UseRelationshipId(
    ElementLink link,
    SerializationContext serializationContext
)
protected:
bool UseRelationshipId(
    ElementLink^ link, 
    SerializationContext^ serializationContext
)
member UseRelationshipId : 
        link:ElementLink * 
        serializationContext:SerializationContext -> bool
protected function UseRelationshipId(
    link : ElementLink, 
    serializationContext : SerializationContext
) : boolean

Parameters

Return Value

Type: Boolean

Remarks

Calculate whether the BinaryLinkShape should serialize its relationship to the presented link by using an ID or its source and target shapes.

.NET Framework Security

See Also

Reference

BinaryLinkShapeSerializer Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace