| WikibaseSiteInfoParseEntityId Method |
This is preliminary documentation and is subject to change.
Extracts the entity ID out of the given entity URI.
Namespace: WikiClientLibrary.WikibaseAssembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax public string ParseEntityId(
string entityUri
)
Public Function ParseEntityId (
entityUri As String
) As String
Dim instance As WikibaseSiteInfo
Dim entityUri As String
Dim returnValue As String
returnValue = instance.ParseEntityId(entityUri)
public:
String^ ParseEntityId(
String^ entityUri
)
member ParseEntityId :
entityUri : string -> string
Parameters
- entityUri String
- Wikibase entity URI.
Return Value
StringThe corresponding Wikibase entity ID.
Exceptions Exception | Condition |
---|
ArgumentNullException | entityUri is null. |
ArgumentException | entityUri does not have the same URI prefix as specified in ConceptBaseUri. |
See Also