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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

protected bool UseRelationshipId(
    ElementLink link,
    SerializationContext serializationContext
)

Parameters

Return Value

Type: System.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