| 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.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public MagicWordInfo? TryGetByAlias(
string alias
)
Public Function TryGetByAlias (
alias As String
) As MagicWordInfo
Dim instance As MagicWordCollection
Dim alias As String
Dim returnValue As MagicWordInfo
returnValue = instance.TryGetByAlias(alias)
public:
MagicWordInfo^ TryGetByAlias(
String^ alias
)
member TryGetByAlias :
alias : string -> MagicWordInfo
Parameters
- alias String
- the magic word alias.
Return Value
MagicWordInfoa magic word entry, or
null if a matching magic word cannot be found.
Exceptions Remarks See Also