Opc.Ua.Client.MonitoredItem.GetFieldName C# (CSharp) Method

GetFieldName() public method

Returns the field name the specified SelectClause in the EventFilter.
public GetFieldName ( int index ) : string
index int
return string
        public string GetFieldName(int index)
        {
            EventFilter filter = m_filter as EventFilter;

            if (filter == null)
            {
                return null;
            }

            if (index < 0 || index >= filter.SelectClauses.Count)
            {
                return null;
            }

            return Utils.Format("{0}", SimpleAttributeOperand.Format(filter.SelectClauses[index].BrowsePath));
        }