Freigeben über


SerializationUtilities.GetString<T> Method (SerializationContext, T)

Converts a string into a given type.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Shared Function GetString(Of T) ( _
    serializationContext As SerializationContext, _
    input As T _
) As String
public static string GetString<T>(
    SerializationContext serializationContext,
    T input
)
public:
generic<typename T>
static String^ GetString(
    SerializationContext^ serializationContext, 
    T input
)
static member GetString : 
        serializationContext:SerializationContext * 
        input:'T -> string 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • input
    Type: T
    The string to convert.

Return Value

Type: System.String
The string as the given type.

.NET Framework Security

See Also

Reference

SerializationUtilities Class

GetString Overload

Microsoft.VisualStudio.Modeling Namespace