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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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