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

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IDictionaryEnumerator
리턴 IDictionaryEnumerator
        public IDictionaryEnumerator GetEnumerator() {
            return new XSODictionaryEnumerator(this.entries, table.Count, EnumeratorType.DictionaryEntry); 
        }

Usage Example

        // Adds all items in the XmlSchemaObjectTable to the specified XmlSchema
        //
        private static void AddTableToSchema(XmlSchema outSch, XmlSchemaObjectTable table)
        {
            var e = table.GetEnumerator();

            while (e.MoveNext())
            {
                outSch.Items.Add((XmlSchemaObject)e.Value);
            }
        }
All Usage Examples Of System.Xml.Schema.XmlSchemaObjectTable::GetEnumerator