Additional properties of the node object can be set by the application as required after the node is created.
Visual Basic (Declaration) | |
---|---|
Protected Overloads Function CreateDataItemNode( _ ByVal name As String, _ ByVal description As String, _ ByVal dataType As Type, _ ByVal initialValue As Object, _ ByVal statusCode As StatusCode, _ ByVal accessLevel As Byte _ ) As DataItemState |
C# | |
---|---|
protected DataItemState CreateDataItemNode( string name, string description, Type dataType, object initialValue, StatusCode statusCode, byte accessLevel ) |
Parameters
- name
- The name for the node ID, browse name and display name.
- description
- Optional vendor specific node description
- dataType
- The data type of the node value
- initialValue
- Optional initial value.
- statusCode
- Initial status code.
- accessLevel
- Access rights definition.
Return Value
The created DataItemState object.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family