[This is preliminary documentation and is subject to change.]

The OptionSet type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Add(String)
Add(ArgumentSource)
Add(Option)
Add(String, OptionAction<(Of <<'(String, String>)>>))
Add<(Of <<'(TKey, TValue>)>>)(String, OptionAction<(Of <<'(TKey, TValue>)>>))
Add(String, Action<(Of <<'(String>)>>))
Add<(Of <<'(T>)>>)(String, Action<(Of <<'(T>)>>))
Add(String, String, OptionAction<(Of <<'(String, String>)>>))
Add<(Of <<'(TKey, TValue>)>>)(String, String, OptionAction<(Of <<'(TKey, TValue>)>>))
Add(String, String, Action<(Of <<'(String>)>>))
Add<(Of <<'(T>)>>)(String, String, Action<(Of <<'(T>)>>))
ChangeItemKey(TItem, TKey)
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollection<(Of <(<'String, Option>)>)>.)
Clear()()()()
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Option>)>)>.)
ClearItems()()()()
Removes all elements from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, Option>)>)>.)
Contains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, Option>)>)>.)
Contains(T)
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Option>)>)>.)
CopyTo(array<T>[]()[][], Int32)
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'Option>)>)>.)
CreateOptionContext()()()()
Equals(Object)
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 Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Option>)>)>.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetKeyForItem(Option) (Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..GetKeyForItem(TItem).)
GetOptionForName(String) Obsolete.
GetOptionParts(String, String%, String%, String%, String%)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf(T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Option>)>)>.)
Insert(Int32, T)
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'Option>)>)>.)
InsertItem(Int32, Option) (Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..InsertItem(Int32, TItem).)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parse(IEnumerable<(Of <<'(String>)>>))
Parse(String, OptionContext)
Remove(TKey)
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, Option>)>)>.)
Remove(T)
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Option>)>)>.)
RemoveAt(Int32)
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'Option>)>)>.)
RemoveItem(Int32) (Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..RemoveItem(Int32).)
SetItem(Int32, Option) (Overrides KeyedCollection<(Of <(<'TKey, TItem>)>)>..::..SetItem(Int32, TItem).)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WriteOptionDescriptions(TextWriter)

See Also