SerializationUtilities.TryGetValueFromBinaryForm<T> Method
Tries to deserialize a type from the given string.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Shared Function TryGetValueFromBinaryForm(Of T) ( _
input As String, _
<OutAttribute> ByRef output As T _
) As Boolean
public static bool TryGetValueFromBinaryForm<T>(
string input,
out T output
)
public:
generic<typename T>
static bool TryGetValueFromBinaryForm(
String^ input,
[OutAttribute] T% output
)
static member TryGetValueFromBinaryForm :
input:string *
output:'T byref -> bool
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
input
Type: StringThe string.
output
Type: T%The type to deserialize.
Return Value
Type: Boolean
true if the deserialization succeeded; otherwise, false.
.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.