Skip to content

Reference

OpcArgumentAttribute Members

Specifies the name, the description and the default value of an argument of a method node for a parameter or the return value of the callback of the method node, in place of the values determined from the parameter.

Reference

OpcArgumentAttribute Members ​

Type
OpcArgumentAttribute
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from Attribute.

Constructors ​

OpcArgumentAttribute ​

Initializes a new instance of the OpcArgumentAttribute class using the specified name of the argument.

csharp
public OpcArgumentAttribute(string name)
vbnet
Public Sub New(name As String)

Parameters

NameTypeDescription
nameStringThe name of the argument, or a null reference (Nothing in Visual Basic), an empty string or white space to use the name of the parameter.

Properties ​

DefaultValue ​

Gets or sets the default value of the argument.

csharp
public object DefaultValue { get; set; }
vbnet
Public Property DefaultValue As Object

Property value

Object

The default value of the argument, or a null reference (Nothing in Visual Basic) to use the default value of the parameter (for a value type without a default value of the parameter the default value of the type).

Description ​

Gets or sets the description of the argument.

csharp
public string Description { get; set; }
vbnet
Public Property Description As String

Property value

String

The description of the argument, or a null reference (Nothing in Visual Basic), an empty string or white space if the argument has no description.

Name ​

Gets the name of the argument.

csharp
public string Name { get; }
vbnet
Public ReadOnly Property Name As String

Property value

String

The name of the argument, or a null reference (Nothing in Visual Basic), an empty string or white space to use the name of the parameter.