IModelBus.DeserializeReference Method (String, ReferenceContext)
Deserializes the supplied string and returns a ModelBusReference.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
ModelBusReference DeserializeReference(
string serializedReference,
ReferenceContext context
)
ModelBusReference^ DeserializeReference(
String^ serializedReference,
ReferenceContext^ context
)
abstract DeserializeReference :
serializedReference:string *
context:ReferenceContext -> ModelBusReference
Function DeserializeReference (
serializedReference As String,
context As ReferenceContext
) As ModelBusReference
Parameters
serializedReference
Type: System.StringA string representing the serialized Model Bus Reference.
context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContextReferenceContext used to interpret the serialized string. This will be stored in the returned ModelBusReference. May be null if the serializedReference requires no context.
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
The deserialized ModelBusReference.
See Also
IModelBus Interface
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top