Click or drag to resize

MagicWordCollectionTryGetByAlias Method

This is preliminary documentation and is subject to change.

Tries to lookup a magic word by alias (wikitext) in the collection.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public MagicWordInfo? TryGetByAlias(
	string alias
)

Parameters

alias  String
the magic word alias.

Return Value

MagicWordInfo
a magic word entry, or null if a matching magic word cannot be found.
Exceptions
ExceptionCondition
ArgumentNullExceptionalias is null.
Remarks

This function checks CaseSensitive for case-sensitivity during lookup.

To look for a magic word by its magic word ID, use TryGet(String) or ItemString.

See Also