OPC Studio User's Guide and Reference
SetNamespaceArray Method (_UAHeaderDataTypeSchema)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes Namespace > _UAHeaderDataTypeSchema Interface : SetNamespaceArray Method

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

Defines an array of namespace URIs.
Syntax
'Declaration
 
Sub SetNamespaceArray( _
   ByRef value() As String _
) 
'Usage
 
Dim instance As _UAHeaderDataTypeSchema
Dim value() As String
 
instance.SetNamespaceArray(value)
void SetNamespaceArray( 
   ref string[] value
)
void SetNamespaceArray( 
   array<String^>^% value
) 

Parameters

value

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

Remarks

As opposed to 'namespaces' field of DataTypeSchemaHeader in the OPC UA specification, here we also include the entry for namespace with index 0.

Warning: Under normal circumstances, you should have no need to use this property, because the namespace URIs are included in the qualified names and node IDs.

This member is not compatible with VBScript.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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