Click or drag to resize

WbMonolingualTextCollectionTryGetMonolingualText Method

This is preliminary documentation and is subject to change.

Tries to get the WbMonolingualText associated with the specified language.

Namespace: WikiClientLibrary.Wikibase.DataTypes
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
Syntax
public WbMonolingualText TryGetMonolingualText(
	string language
)

Parameters

language  String
The desired language code.

Return Value

WbMonolingualText
The desired WbMonolingualText, or Null if the language does not have any associated text.
Exceptions
ExceptionCondition
ArgumentNullExceptionlanguage is null.
See Also