Opc.Ua.ContentFilterElement.SetOperands C# (CSharp) Method

SetOperands() public method

Sets the operands for the element.
public SetOperands ( IEnumerable operands ) : void
operands IEnumerable The list of the operands.
return void
        public void SetOperands(IEnumerable<FilterOperand> operands)
        {
            FilterOperands.Clear();

            if (operands == null)
            {
                return;
            }

            foreach (FilterOperand operand in operands)
            {
                if (operand == null)
                {
                    continue;
                }

                FilterOperands.Add(new ExtensionObject(operand));
            }
        }