IModelBus.SerializeReference Method (ModelBusReference)
Serializes the supplied reference to a string that can be persisted by the caller. If there is ReferenceContext information attached to the reference, you will have to provide equivalent context information when the string is deserialized.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
string SerializeReference(
ModelBusReference reference
)
String^ SerializeReference(
ModelBusReference^ reference
)
abstract SerializeReference :
reference:ModelBusReference -> string
Function SerializeReference (
reference As ModelBusReference
) As String
Parameters
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReferenceThe reference to be serialized
Return Value
Type: System.String
A string representing the serialized form of the reference, relative to any ReferenceContext information that is associated with the ModelBusReference.
See Also
IModelBus Interface
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top