Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / PacketDefinition Class / GetSerializableType Method
A .NET type to serialize

In This Topic
    GetSerializableType Method
    In This Topic
    Get the lossless equivalent type for serialization
    Syntax
    'Declaration
     
    
    Public Shared Function GetSerializableType( _
       ByVal type As Type _
    ) As FieldType
    public static FieldType GetSerializableType( 
       Type type
    )

    Parameters

    type
    A .NET type to serialize

    Return Value

    The Field Type that will provide lossless serialization
    Remarks
    If no lossless type is found, an exception will be thrown.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also