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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > NodeDescriptor 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 MustOverride Sub SerializeNodeDescriptorIfNotNull( _
   ByVal xmlWriter As XmlWriter, _
   ByVal elementName As String, _
   ByVal defaultNamespace As String, _
   ByVal nodeDescriptor As NodeDescriptor _
) 
'Usage
 
Dim instance As NodeDescriptor
Dim xmlWriter As XmlWriter
Dim elementName As String
Dim defaultNamespace As String
Dim nodeDescriptor As NodeDescriptor
 
instance.SerializeNodeDescriptorIfNotNull(xmlWriter, elementName, defaultNamespace, nodeDescriptor)
protected abstract void SerializeNodeDescriptorIfNotNull( 
   XmlWriter xmlWriter,
   string elementName,
   string defaultNamespace,
   NodeDescriptor nodeDescriptor
)
protected:
abstract void SerializeNodeDescriptorIfNotNull( 
   XmlWriter^ xmlWriter,
   String^ elementName,
   String^ defaultNamespace,
   NodeDescriptor^ nodeDescriptor
) 

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