Click or drag to resize

Claim(String, Object, WikibaseDataType) Constructor

This is preliminary documentation and is subject to change.

Initializes a new Claim instance with the main snak set to property id and value.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public Claim(
	string propertyId,
	Object dataValue,
	WikibaseDataType dataType
)

Parameters

propertyId  String
The property ID of the auto-constructed main snak.
dataValue  Object
The data value of the main snak.
dataType  WikibaseDataType
The data type of the main snak.
Exceptions
ExceptionCondition
ArgumentNullExceptionpropertyId or dataType is null.
See Also