Opc.Ua.Core
WriteVariant Method (JsonEncoder)



Opc.Ua Namespace > JsonEncoder Class : WriteVariant Method
Writes an Variant to the stream.
Syntax
'Declaration
 
Public Sub WriteVariant( _
   ByVal fieldName As String, _
   ByVal value As Variant _
) 
'Usage
 
Dim instance As JsonEncoder
Dim fieldName As String
Dim value As Variant
 
instance.WriteVariant(fieldName, value)
public void WriteVariant( 
   string fieldName,
   Variant value
)
public:
void WriteVariant( 
   String^ fieldName,
   Variant value
) 

Parameters

fieldName
value
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