# OpcArgumentAttribute Class

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcArgumentAttribute Members</a></dd>
</dl>

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.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcArgumentAttribute : Attribute
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
<AttributeUsage(AttributeTargets.Parameter Or AttributeTargets.ReturnValue, AllowMultiple:=False, Inherited:=False)>
Public Class OpcArgumentAttribute
    Inherits Attribute
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [Attribute](https://learn.microsoft.com/dotnet/api/system.attribute) → **OpcArgumentAttribute**

## Constructors

| Name | Description |
|---|---|
| [OpcArgumentAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcargumentattribute/members#opcargumentattribute) | Initializes a new instance of the OpcArgumentAttribute class using the specified `name` of the argument. |

## Properties

| Name | Description |
|---|---|
| [DefaultValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcargumentattribute/members#defaultvalue) | Gets or sets the default value of the argument. |
| [Description](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcargumentattribute/members#description) | Gets or sets the description of the argument. |
| [Name](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcargumentattribute/members#name) | Gets the name of the argument. |

Inherits members from [Attribute](https://learn.microsoft.com/dotnet/api/system.attribute).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
