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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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