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.4+fbadc980737ddc9bb67116900ecad57f84a0b241
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