Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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
- link
Type: Microsoft.VisualStudio.Modeling.ElementLink
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
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
- 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.