Partager via


ModelBus.DeserializeReference Method

Deserializes the supplied string and returns a ModelBusReference.

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

Syntax

'Déclaration
Public Function DeserializeReference ( _
    serializedReference As String, _
    context As ReferenceContext _
) As ModelBusReference
public ModelBusReference DeserializeReference(
    string serializedReference,
    ReferenceContext context
)
public:
virtual ModelBusReference^ DeserializeReference(
    String^ serializedReference, 
    ReferenceContext^ context
) sealed
abstract DeserializeReference : 
        serializedReference:string * 
        context:ReferenceContext -> ModelBusReference 
override DeserializeReference : 
        serializedReference:string * 
        context:ReferenceContext -> ModelBusReference 
public final function DeserializeReference(
    serializedReference : String, 
    context : ReferenceContext
) : ModelBusReference

Parameters

  • serializedReference
    Type: System.String
    A string representing the serialized reference

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
A new instance of ModelBusReference

Implements

IModelBus.DeserializeReference(String, ReferenceContext)

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace