Click or drag to resize

MagicWordCollectionTryGet Method

This is preliminary documentation and is subject to change.

Tries to lookup a magic word by name (magic word ID) in the collection. The match is case-sensitive.

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

Parameters

name  String
the magic word name.

Return Value

MagicWordInfo
a magic word entry, or null if a matching magic word cannot be found.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
Remarks
To look for a magic word by its alias (wikitext), use TryGetByAlias(String).
See Also