System.Collections.Specialized.StringCollection.Contains C# (CSharp) Метод

Contains() публичный Метод

public Contains ( string value ) : bool
value string
Результат bool
        public bool Contains(string value) { throw null; }
        public void CopyTo(string[] array, int index) { }

Usage Example

Пример #1
0
        protected bool TestOk(string group, string token)
        {
            //nb: ensure that capitalization does not mess anyone up

            //we approve it if we find either just a token (UI), or that token preceded by the group name (WW:UI)
            return(m_tokens.Contains(group.ToLower() + ":" + token.ToLower()) || m_tokens.Contains(token.ToLower()));
        }
All Usage Examples Of System.Collections.Specialized.StringCollection::Contains