Click or drag to resize

MagicWordCollectionItem(String) Property

This is preliminary documentation and is subject to change.

Gets the magic word with specified name (magic word ID). The match is case-sensitive.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public MagicWordInfo this[
	string name
] { get; }

Parameters

name  String
name of the magic word (magic word ID).

Property Value

MagicWordInfo
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
KeyNotFoundExceptionthere is no matching magic word in the collection.
Remarks
To look for a magic word by its alias (wikitext), use TryGetByAlias(String).
See Also