Thresher 1.2 Class Documentation

ServerProperties.GetEnumerator Method 

Get a read-only enumeration of all the elements in this object.

[Visual Basic]
Public Function GetEnumerator() As IDictionaryEnumerator
[C#]
public IDictionaryEnumerator GetEnumerator();

Return Value

An IDictionaryEnumerator type enumeration.

Example

            //To loop over all the values	
            foreach( DictionaryEntry entry in connection.ServerProperties ) 
            {
            Console.WriteLine("Key:" + entry.Key + " Value:" + entry.Value );
            }
            

See Also

ServerProperties Class | Sharkbite.Irc Namespace