OPC Studio User's Guide and Reference
SerializeNodeDescriptorIfNotNull Method (DANodeDescriptor)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DANodeDescriptor Class : SerializeNodeDescriptorIfNotNull Method

The value of this parameter cannot be null (Nothing in Visual Basic).

The value of this parameter cannot be null (Nothing in Visual Basic).

The value of this parameter cannot be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

Infrastructure.
Syntax
'Declaration
 
Protected Overrides Sub SerializeNodeDescriptorIfNotNull( _
   ByVal xmlWriter As XmlWriter, _
   ByVal elementName As String, _
   ByVal defaultNamespace As String, _
   ByVal nodeDescriptor As NodeDescriptor _
) 
'Usage
 
Dim instance As DANodeDescriptor
Dim xmlWriter As XmlWriter
Dim elementName As String
Dim defaultNamespace As String
Dim nodeDescriptor As NodeDescriptor
 
instance.SerializeNodeDescriptorIfNotNull(xmlWriter, elementName, defaultNamespace, nodeDescriptor)
protected override void SerializeNodeDescriptorIfNotNull( 
   XmlWriter xmlWriter,
   string elementName,
   string defaultNamespace,
   NodeDescriptor nodeDescriptor
)
protected:
void SerializeNodeDescriptorIfNotNull( 
   XmlWriter^ xmlWriter,
   String^ elementName,
   String^ defaultNamespace,
   NodeDescriptor^ nodeDescriptor
) override 

Parameters

xmlWriter

The value of this parameter cannot be null (Nothing in Visual Basic).

elementName

The value of this parameter cannot be null (Nothing in Visual Basic).

defaultNamespace

The value of this parameter cannot be null (Nothing in Visual Basic).

nodeDescriptor

The value of this parameter can be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also