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

GetOperands() public method

Returns the operands for the element.
public GetOperands ( ) : List
return List
        public List<FilterOperand> GetOperands()
        {
            List<FilterOperand> operands = new List<FilterOperand>(FilterOperands.Count); 

            foreach (ExtensionObject extension in FilterOperands)
            {
                if (ExtensionObject.IsNull(extension))
                {
                    continue;
                }

                FilterOperand operand = extension.Body as FilterOperand;

                if (operand == null)
                {
                    continue;
                }
               
                operands.Add(operand);
            }

            return operands;
        }