Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Serializes the supplied modeling adapter to a string format.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.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.ModelingAdapterReference
The reference to be serialized
- context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContext
Contextual information. Should contain the absolute path of the source file in which the reference will be serialized.
Return Value
Type: System.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.