Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Converts a string into a given type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Shared Function GetValue(Of T) ( _
input As String _
) As T
public static T GetValue<T>(
string input
)
public:
generic<typename T>
static T GetValue(
String^ input
)
static member GetValue :
input:string -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Type to convert to.
Parameters
input
Type: StringThe string to convert.
Return Value
Type: T
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.