Share via


LinkConnectsToNodeSerializer.SerializeReference Method

Calculates a monikerized string reference to a NodeShape.

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

Syntax

'Declaration
Public Overrides Function SerializeReference ( _
    serializationContext As SerializationContext, _
    sourceElement As ModelElement, _
    targetElement As ModelElement _
) As String
public override string SerializeReference(
    SerializationContext serializationContext,
    ModelElement sourceElement,
    ModelElement targetElement
)
public:
virtual String^ SerializeReference(
    SerializationContext^ serializationContext, 
    ModelElement^ sourceElement, 
    ModelElement^ targetElement
) override
abstract SerializeReference : 
        serializationContext:SerializationContext * 
        sourceElement:ModelElement * 
        targetElement:ModelElement -> string  
override SerializeReference : 
        serializationContext:SerializationContext * 
        sourceElement:ModelElement * 
        targetElement:ModelElement -> string
public override function SerializeReference(
    serializationContext : SerializationContext, 
    sourceElement : ModelElement, 
    targetElement : ModelElement
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

LinkConnectsToNodeSerializer Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace