C# Class System.ComponentModel.EventDescriptorCollection

Inheritance: IList, ICollection, IEnumerable
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
Empty EventDescriptorCollection

Private Properties

Property Type Description
EnsureEventsOwned void
EnsureSize void
EventDescriptorCollection System.Diagnostics.CodeAnalysis
ICollection void
IEnumerable IEnumerator
IList bool
IList int
IList void
IList void
IList void
IList void
this objectIList.System.Diagnostics.CodeAnalysis

Public Methods

Method Description
Add ( System.ComponentModel.EventDescriptor value ) : int
Clear ( ) : void
Contains ( System.ComponentModel.EventDescriptor value ) : bool
EventDescriptorCollection ( System.ComponentModel.EventDescriptor events ) : System.Diagnostics.CodeAnalysis
EventDescriptorCollection ( System.ComponentModel.EventDescriptor events, bool readOnly ) : System.Diagnostics.CodeAnalysis
Find ( string name, bool ignoreCase ) : EventDescriptor
GetEnumerator ( ) : IEnumerator
IndexOf ( EventDescriptor value ) : int
Insert ( int index, EventDescriptor value ) : void
Remove ( EventDescriptor value ) : void
RemoveAt ( int index ) : void
Sort ( ) : EventDescriptorCollection
Sort ( IComparer comparer ) : EventDescriptorCollection
Sort ( string names ) : EventDescriptorCollection
Sort ( string names, IComparer comparer ) : EventDescriptorCollection
this ( int index ) : EventDescriptor
this ( string name ) : EventDescriptor

Protected Methods

Method Description
InternalSort ( IComparer sorter ) : void
InternalSort ( string names ) : void

Private Methods

Method Description
EnsureEventsOwned ( ) : void
EnsureSize ( int sizeNeeded ) : void
EventDescriptorCollection ( System.ComponentModel.EventDescriptor events, int eventCount, string namedSort, IComparer comparer ) : System.Diagnostics.CodeAnalysis
ICollection ( Array array, int index ) : void
IEnumerable ( ) : IEnumerator
IList ( object value ) : bool
IList ( object value ) : int
IList ( ) : void
IList ( int index ) : void
IList ( int index, object value ) : void
IList ( object value ) : void
this ( int index ) : objectIList.System.Diagnostics.CodeAnalysis

Method Details

Add() public method

public Add ( System.ComponentModel.EventDescriptor value ) : int
value System.ComponentModel.EventDescriptor
return int

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( System.ComponentModel.EventDescriptor value ) : bool
value System.ComponentModel.EventDescriptor
return bool

EventDescriptorCollection() public method

public EventDescriptorCollection ( System.ComponentModel.EventDescriptor events ) : System.Diagnostics.CodeAnalysis
events System.ComponentModel.EventDescriptor
return System.Diagnostics.CodeAnalysis

EventDescriptorCollection() public method

public EventDescriptorCollection ( System.ComponentModel.EventDescriptor events, bool readOnly ) : System.Diagnostics.CodeAnalysis
events System.ComponentModel.EventDescriptor
readOnly bool
return System.Diagnostics.CodeAnalysis

Find() public method

public Find ( string name, bool ignoreCase ) : EventDescriptor
name string
ignoreCase bool
return EventDescriptor

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

IndexOf() public method

public IndexOf ( EventDescriptor value ) : int
value EventDescriptor
return int

Insert() public method

public Insert ( int index, EventDescriptor value ) : void
index int
value EventDescriptor
return void

InternalSort() protected method

protected InternalSort ( IComparer sorter ) : void
sorter IComparer
return void

InternalSort() protected method

protected InternalSort ( string names ) : void
names string
return void

Remove() public method

public Remove ( EventDescriptor value ) : void
value EventDescriptor
return void

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void

Sort() public method

public Sort ( ) : EventDescriptorCollection
return EventDescriptorCollection

Sort() public method

public Sort ( IComparer comparer ) : EventDescriptorCollection
comparer IComparer
return EventDescriptorCollection

Sort() public method

public Sort ( string names ) : EventDescriptorCollection
names string
return EventDescriptorCollection

Sort() public method

public Sort ( string names, IComparer comparer ) : EventDescriptorCollection
names string
comparer IComparer
return EventDescriptorCollection

this() public method

public this ( int index ) : EventDescriptor
index int
return EventDescriptor

this() public method

public this ( string name ) : EventDescriptor
name string
return EventDescriptor

Property Details

Empty public_oe static_oe property

public static EventDescriptorCollection,System.ComponentModel Empty
return EventDescriptorCollection