Opc.Ua.Core
JsonEncoder Constructor(IServiceMessageContext,Boolean,StreamWriter,Boolean)



Opc.Ua Namespace > JsonEncoder Class > JsonEncoder Constructor : JsonEncoder Constructor(IServiceMessageContext,Boolean,StreamWriter,Boolean)
Initializes the object with default values. Selects the reversible or non reversible encoding.
Syntax
'Declaration
 
Public Function New( _
   ByVal context As IServiceMessageContext, _
   ByVal useReversibleEncoding As Boolean, _
   ByVal streamWriter As StreamWriter, _
   Optional ByVal topLevelIsArray As Boolean _
)
'Usage
 
Dim context As IServiceMessageContext
Dim useReversibleEncoding As Boolean
Dim streamWriter As StreamWriter
Dim topLevelIsArray As Boolean
 
Dim instance As New JsonEncoder(context, useReversibleEncoding, streamWriter, topLevelIsArray)

Parameters

context
useReversibleEncoding
streamWriter
topLevelIsArray
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

Reference

JsonEncoder Class
JsonEncoder Members
Overload List