Share via


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: String

    The string.

  • output
    Type: T%

    The type to deserialize.

Return Value

Type: Boolean
true if the deserialization succeeded; otherwise, false.

.NET Framework Security

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace