ModelBusAdapterManager.SerializeAdapterReference Method (ModelBusAdapterReference, ReferenceContext)
Serializes the supplied adapter reference and returns it as a string
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
protected internal abstract string SerializeAdapterReference(
ModelBusAdapterReference reference,
ReferenceContext context
)
public protected:
virtual String^ SerializeAdapterReference(
ModelBusAdapterReference^ reference,
ReferenceContext^ context
) abstract
abstract SerializeAdapterReference :
reference:ModelBusAdapterReference *
context:ReferenceContext -> string
Protected Friend MustOverride Function SerializeAdapterReference (
reference As ModelBusAdapterReference,
context As ReferenceContext
) As String
Parameters
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReferenceThe reference to be serialized
context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContextAdditional contextual information, or null. If you provide a ReferenceContext, you might have to provide equivalent information when the string is deserialized. A typical context would be a project folder.
Return Value
Type: System.String
Serialized version of the reference. If you provide a ReferenceContext, the string might be relative to the context.
Remarks
See also SerializeReference.
See Also
ModelBusAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top