Opc.Ua.Core
AddProperty<T> Method



Opc.Ua Namespace > NodeState Class : AddProperty<T> Method
Creates a property and adds it to the node.
Syntax
'Declaration
 
Public Function AddProperty(Of T)( _
   ByVal propertyName As String, _
   ByVal dataTypeId As NodeId, _
   ByVal valueRank As Integer _
) As PropertyState
'Usage
 
Dim instance As NodeState
Dim propertyName As String
Dim dataTypeId As NodeId
Dim valueRank As Integer
Dim value As PropertyState
 
value = instance.AddProperty(Of T)(propertyName, dataTypeId, valueRank)
public:
PropertyState^ AddPropertygeneric<typename T>
( 
   String^ propertyName,
   NodeId^ dataTypeId,
   int valueRank
) 

Parameters

propertyName
dataTypeId
valueRank

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NodeState Class
NodeState Members