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.4+fbadc980737ddc9bb67116900ecad57f84a0b241
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