The RightClickMenuCollection type exposes the following members.

Methods

  NameDescription
Add
Add new menu, will fail if key already exists
BaseAdd
Adds an entry with the specified key and value into the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
BaseClear
Removes all entries from the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
BaseGetOverloaded.
BaseGetAllKeys
Returns a String array that contains all the keys in the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
BaseGetAllValuesOverloaded.
BaseGetKey
Gets the key of the entry at the specified index of the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
BaseHasKeys
Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not null.
(Inherited from NameObjectCollectionBase.)
BaseRemove
Removes the entries with the specified key from the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
BaseRemoveAt
Removes the entry at the specified index of the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
BaseSetOverloaded.
Clear
Remove all menus
Contains
Check if menu exists
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator
Returns an enumerator that iterates through the NameObjectCollectionBase.
(Inherited from NameObjectCollectionBase.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetObjectData
Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from NameObjectCollectionBase.)
Remove
Remove menu with name
RemoveAt
Remove menu at specified index
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also