# OpcNodeTypeMembersAttribute Members

> Reference: Defines additional information like different criterions to use to select the members of a node type which shall be respected and therefore encoded / decoded for the node type on which the attribute is applied.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNodeTypeMembersAttribute</a></dd>
<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>
</dl>

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

## Constructors

### OpcNodeTypeMembersAttribute

Initializes a new instance of the [OpcNodeTypeMembersAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodetypemembersattribute/) class using the `origins` specified.

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

```csharp
public OpcNodeTypeMembersAttribute(OpcMemberOrigins origins)
```

</div>

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

```vbnet
Public Sub New(origins As OpcMemberOrigins)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `origins` | [OpcMemberOrigins](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmemberorigins/) | A combination of the members defined by the [OpcMemberOrigins](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmemberorigins/) enumeration to use to select the members which shall be encoded / decoded for the node type on which the attribute has been applied. |

## Properties

### Origins

Gets the criterions to use to select the appropriate members of a node type to respect whenever an instance of the node type, to which the current [OpcNodeTypeMembersAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodetypemembersattribute/) has been applied, is encoded / decoded.

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

```csharp
public OpcMemberOrigins Origins { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Origins As OpcMemberOrigins
```

</div>

**Property value**

[OpcMemberOrigins](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmemberorigins/)

A combination of the members defined by the [OpcMemberOrigins](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmemberorigins/) enumeration.
