다음을 통해 공유


ModelBus.SerializeReference Method

Serializes the supplied reference to a string that can be persisted by the caller.

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

Syntax

'Declaration
Public Function SerializeReference ( _
    reference As ModelBusReference _
) As String
public string SerializeReference(
    ModelBusReference reference
)
public:
virtual String^ SerializeReference(
    ModelBusReference^ reference
) sealed
abstract SerializeReference : 
        reference:ModelBusReference -> string  
override SerializeReference : 
        reference:ModelBusReference -> string
public final function SerializeReference(
    reference : ModelBusReference
) : String

Parameters

Return Value

Type: System.String
A string representing the serialized form of the reference

Implements

IModelBus.SerializeReference(ModelBusReference)

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace