Click or drag to resize

WbMonolingualTextsCollectionTryGetMonolingualTexts 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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public IEnumerable<WbMonolingualText> TryGetMonolingualTexts(
	string language
)

Parameters

language  String
The desired language code.

Return Value

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