Partilhar via


BinaryLinkShapeSerializer.UseRelationshipId Method

Definition

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

protected:
 bool UseRelationshipId(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext);
protected bool UseRelationshipId (Microsoft.VisualStudio.Modeling.ElementLink link, Microsoft.VisualStudio.Modeling.SerializationContext serializationContext);
member this.UseRelationshipId : Microsoft.VisualStudio.Modeling.ElementLink * Microsoft.VisualStudio.Modeling.SerializationContext -> bool
Protected Function UseRelationshipId (link As ElementLink, serializationContext As SerializationContext) As Boolean

Parameters

serializationContext
SerializationContext

Returns

Applies to