Partager via


ModelBusReference.Deserialize Method (String, IModelBus, ReferenceContext)

 

Deserializes the serializedReference and returns a new instance of ModelBusReference

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

Syntax

public static ModelBusReference Deserialize(
    string serializedReference,
    IModelBus modelBus,
    ReferenceContext context
)
public:
static ModelBusReference^ Deserialize(
    String^ serializedReference,
    IModelBus^ modelBus,
    ReferenceContext^ context
)
static member Deserialize : 
        serializedReference:string *
        modelBus:IModelBus *
        context:ReferenceContext -> ModelBusReference
Public Shared Function Deserialize (
    serializedReference As String,
    modelBus As IModelBus,
    context As ReferenceContext
) As ModelBusReference

Parameters

  • serializedReference
    Type: System.String

    The serialized form of the reference

  • ??modelbus
    The modelbus the new reference should use when deserializing the adapter-specific part of the reference

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

A new instance of ModelBusReference

See Also

Deserialize Overload
ModelBusReference Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top