Opc.Ua.Core
UsingAlternateEncoding<T> Method (IJsonEncoder)



Opc.Ua Namespace > IJsonEncoder Interface : UsingAlternateEncoding<T> Method
Call an IEncoder action where the alternate encoding type is applied before the call to the Action and restored before return.
Syntax
'Declaration
 
Sub UsingAlternateEncoding(Of T)( _
   ByVal action As Action(Of String,T), _
   ByVal fieldName As String, _
   ByVal value As T, _
   ByVal useEncodingType As JsonEncodingType _
) 
 
'Usage
 
Dim instance As IJsonEncoder
Dim action As Action(Of String,T)
Dim fieldName As String
Dim value As T
Dim useEncodingType As JsonEncodingType
 
instance.UsingAlternateEncoding(Of T)(action, fieldName, value, useEncodingType)

Parameters

action
fieldName
value
useEncodingType

Type Parameters

T
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

IJsonEncoder Interface
IJsonEncoder Members