ModelingAdapterReference.Serialize Method
Serializes the supplied modeling adapter to a string format.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)
Syntax
'Declaration
Public Shared Function Serialize ( _
reference As ModelingAdapterReference, _
context As ReferenceContext _
) As String
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 static function Serialize(
reference : ModelingAdapterReference,
context : ReferenceContext
) : 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: String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.