Magic | 
This is preliminary documentation and is subject to change.
The MagicWordCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Contains | Determines whether an element is in the ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| ContainsAlias | Determines whether there's a magic word with specified alias (wikitext). | |
| ContainsName | Determines whether there's a magic word with specified name (magic word ID). The match is case-sensitive. | |
| CopyTo | Copies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)  | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)  | |
| GetEnumerator | Returns an enumerator that iterates through the ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| GetHashCode | Serves as the default hash function. (Inherited from Object)  | |
| GetType | Gets the Type of the current instance. (Inherited from Object)  | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)  | |
| ToString | Returns a string that represents the current object. (Inherited from Object)  | |
| TryGet | Tries to lookup a magic word by name (magic word ID) in the collection. The match is case-sensitive. | |
| TryGetByAlias | Tries to lookup a magic word by alias (wikitext) in the collection. | 
| Name | Description | |
|---|---|---|
| ICollectionTAdd | Adds an item to the ICollectionT.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListAdd | Adds an item to the IList.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| ICollectionTClear | Removes all items from the ICollectionT.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListClear | Removes all items from the IList.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListContains | Determines whether the IList contains a specific value. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| ICollectionCopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListIndexOf | Determines the index of a specific item in the IList. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListTInsert | Inserts an item to the IListT at the specified index.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListInsert | Inserts an item to the IList at the specified index.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| ICollectionTRemove | Removes the first occurrence of a specific object from the ICollectionT.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListRemove | Removes the first occurrence of a specific object from the IList.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListTRemoveAt | Removes the IListT item at the specified index.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  | |
| IListRemoveAt | Removes the IList item at the specified index.  This implementation always throws NotSupportedException. (Inherited from ReadOnlyCollectionMagicWordInfo)  |