Partager via


SerializationUtilities.GetString Method

Definition

Overloads

GetString<T>(T)

Converts an object of the given type into a string

GetString<T>(SerializationContext, T)

Converts an object of the given type into a string

GetString<T>(T)

Converts an object of the given type into a string

public:
generic <typename T>
 static System::String ^ GetString(T input);
public static string GetString<T> (T input);
static member GetString : 'T -> string
Public Shared Function GetString(Of T) (input As T) As String

Type Parameters

T

Parameters

input
T

Returns

Applies to

GetString<T>(SerializationContext, T)

Converts an object of the given type into a string

public:
generic <typename T>
 static System::String ^ GetString(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, T input);
public static string GetString<T> (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, T input);
static member GetString : Microsoft.VisualStudio.Modeling.SerializationContext * 'T -> string
Public Shared Function GetString(Of T) (serializationContext As SerializationContext, input As T) As String

Type Parameters

T

Parameters

serializationContext
SerializationContext
input
T

Returns

Applies to