Compartir a través de


DomainRelationshipXmlSerializer.SerializeReference Method

Calculates a monikerized string reference to the given target role-player instance.

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

Syntax

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

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

DomainRelationshipXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace