AspNetEdit.Editor.Persistence.TagAttributes.CaseInsensitiveSearch C# (CSharp) Method

CaseInsensitiveSearch() private method

private CaseInsensitiveSearch ( string key ) : int
key string
return int
        private int CaseInsensitiveSearch(string key)
        {
            // Hope not to have many attributes when the tag is not a server tag...
            for (int i = 0; i < keys.Count; i++){
                if (0 == String.Compare ((string) keys [i], key, true))
                    return i;
            }
            return -1;
        }