System.Xml.Schema.XmlSchemaObjectTable.FindIndexByValue C# (CSharp) 메소드

FindIndexByValue() 개인적인 메소드

private FindIndexByValue ( XmlSchemaObject xso ) : int
xso XmlSchemaObject
리턴 int
        private int FindIndexByValue(XmlSchemaObject xso) {
            int index;
            for(index = 0; index < entries.Count; index++) {
                if((object)entries[index].xso == (object)xso) {
                    return index;
                }    
            }
            return -1;
        }
        /// <include file='doc\XmlSchemaObjectTable.uex' path='docs/doc[@for="XmlSchemaObjectTable.Count"]/*' />