Opc.Ua.Com.Client.DaPropertyState.DaPropertyState C# (CSharp) Method

DaPropertyState() public method

Initializes a new instance of the DaPropertyState class.
public DaPropertyState ( ISystemContext context, string itemId, DaProperty property, ushort namespaceIndex ) : System
context ISystemContext The context.
itemId string The item id.
property DaProperty The property.
namespaceIndex ushort Index of the namespace.
return System
        public DaPropertyState(
            ISystemContext context, 
            string itemId, 
            DaProperty property, 
            ushort namespaceIndex) 
        : 
            base(null)
        {
            this.TypeDefinitionId = Opc.Ua.VariableTypeIds.DataItemType;
            this.Description = null;
            this.WriteMask = 0;
            this.UserWriteMask = 0;

            if (property != null)
            {
                Initialize(context, itemId, property, namespaceIndex);               
            }
        }
        #endregion