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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
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