QuickOPC User's Guide and Reference
GetDataItemNode<TValue,TAttribute>(UAModelClient,UAEndpointDescriptor,UANodeDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess.Extensions Namespace > UAModelClientExtension Class > GetDataItemNode Method : GetDataItemNode<TValue,TAttribute>(UAModelClient,UAEndpointDescriptor,UANodeDescriptor) Method
The type of the value of the node.
The type used to access the Value attribute.
The OPC-UA model client.
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function GetDataItemNode
    (Of TValue,TAttribute)( _
   ByVal modelClient As UAModelClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor _
) As UADataItemNode(Of TValue,TAttribute)
'Usage
 
Dim modelClient As UAModelClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim value As UADataItemNode(Of TValue,TAttribute)
 
value = UAModelClientExtension.GetDataItemNode(Of TValue, TAttribute)(modelClient, endpointDescriptor, nodeDescriptor)

Parameters

modelClient
The OPC-UA model client.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.

Type Parameters

TValue
The type of the value of the node.
TAttribute
The type used to access the Value attribute.

Return Value

Returns the data item node obtained from the model client.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UAModelClientExtension Class
UAModelClientExtension Members
Overload List