System.Collections.CollectionBase.Clear C# (CSharp) 메소드

Clear() 공개 메소드

public Clear ( ) : void
리턴 void
        public void Clear() { }
        public System.Collections.IEnumerator GetEnumerator() { throw null; }

Usage Example

예제 #1
0
 private static void CleanCollection(CollectionBase collection)
 {
     collection.Clear();
       IDisposable disposable = collection as IDisposable;
       if (disposable != null)
     disposable.Dispose();
 }
All Usage Examples Of System.Collections.CollectionBase::Clear