Skip to content

Reference

OpcArgument Class

Describes an argument used by a method either as an input or an output argument.

Reference

OpcArgument Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcArgument Members
Also in
Opc.UaFx.Client

Describes an argument used by a method either as an input or an output argument.

Syntax ​

csharp
public class OpcArgument
vbnet
Public Class OpcArgument

Inheritance ​

Object → OpcArgument

Constructors ​

NameDescription
OpcArgument22 overloadsInitializes a new instance of the OpcArgument class using the name of the argument to define an argument of the type object.

Properties ​

NameDescription
ArrayDimensionssince v2.8Gets the length for each dimension of an array value of the argument represented.
ArrayLengthsince v2.8Gets the total number of elements in all the dimensions of the array value of the argument represented.
ArrayRanksince v2.8Gets the rank (number of dimensions) of the array value of the argument represented.
DataTypeGets the underlying built-in data type used by the argument.
DataTypeIdGets the node identifier of the data type node identifying the type of argument.
DefaultValueGets the value of the argument that is by default used in case there is no custom value specified for the argument.
DescriptionGets the textual description of the use of the argument represented.
Descriptionssince v2.12Gets the OpcArgumentGlobalization instance used to control the localization and other globalization related tasks for the Description of the current attribute.
IsArraysince v2.8Gets a value indicating whether the value of the argument represented is an array.
NameGets the name of the argument.

Methods ​

NameDescription
GetArrayLengthsince v2.8Gets a 32-bit integer that represents the number of elements in the specified dimension of the array value of the argument.
GetArrayLowerBoundsince v2.8Gets the index of the first element of the specified dimension in the array value of the argument.
GetArrayUpperBoundsince v2.8Gets the index of the last element of the specified dimension in the array value of the argument.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59