ModelingAdapterReference.Serialize Method (ModelingAdapterReference, ReferenceContext)
Serializes the supplied modeling adapter to a string format.
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 string Serialize(
ModelingAdapterReference reference,
ReferenceContext context
)
public:
static String^ Serialize(
ModelingAdapterReference^ reference,
ReferenceContext^ context
)
static member Serialize :
reference:ModelingAdapterReference *
context:ReferenceContext -> string
Public Shared Function Serialize (
reference As ModelingAdapterReference,
context As ReferenceContext
) As String
Parameters
reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReferenceThe reference to be serialized
context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContextContextual information. Should contain the absolute path of the source file in which the reference will be serialized.
Return Value
Type: System.String
See Also
ModelingAdapterReference Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top