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