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
‘선언
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
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
A SerializationResult object.
- input
Type: T
The string to convert.
Return Value
Type: System.String
The string as the given type.
.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.