CodeCarvings.Piczard
SetSerializationType Method
See Also  Send Feedback
CodeCarvings.Piczard.Serialization Namespace > JSONObject Class : SetSerializationType Method

type
The instance of the Type class whose name must be stored in the SerializationType property.
useAssemblyQualifiedNames
if true uses Type.AssemblyQualifiedName as type name; otherwise uses Type.FullName + assembly name.
Sets the value of the SerializationType property to the name of the specified Type.

Syntax

Visual Basic (Declaration)  
Public Sub SetSerializationType( _
   ByVal type As Type, _
   ByVal useAssemblyQualifiedNames As Boolean _
) 
C#  
public void SetSerializationType( 
   Type type,
   bool useAssemblyQualifiedNames
)

Parameters

type
The instance of the Type class whose name must be stored in the SerializationType property.
useAssemblyQualifiedNames
if true uses Type.AssemblyQualifiedName as type name; otherwise uses Type.FullName + assembly name.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.