SerializationUtilities.GetString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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