System.ComponentModel.EventDescriptorCollection.InternalSort C# (CSharp) Method

InternalSort() protected method

protected InternalSort ( IComparer sorter ) : void
sorter IComparer
return void
        protected void InternalSort(IComparer sorter) {
            if (sorter == null) {
                TypeDescriptor.SortDescriptorArray(this);
            }
            else {
                Array.Sort(events, sorter);
            }
        }

Same methods

EventDescriptorCollection::InternalSort ( string names ) : void

Usage Example

Example #1
0
        public virtual EventDescriptorCollection Sort(IComparer comparer)
        {
            EventDescriptorCollection col = CloneCollection();

            col.InternalSort(comparer);
            return(col);
        }
All Usage Examples Of System.ComponentModel.EventDescriptorCollection::InternalSort