Click or drag to resize

WikibaseSiteInfoParseEntityId Method

This is preliminary documentation and is subject to change.

Extracts the entity ID out of the given entity URI.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public string ParseEntityId(
	string entityUri
)

Parameters

entityUri  String
Wikibase entity URI.

Return Value

String
The corresponding Wikibase entity ID.
Exceptions
ExceptionCondition
ArgumentNullExceptionentityUri is null.
ArgumentExceptionentityUri does not have the same URI prefix as specified in ConceptBaseUri.
See Also