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.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
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