Click or drag to resize

Snak(Entity, Object) Constructor

This is preliminary documentation and is subject to change.

Initializes a snak with specified property and data value.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
public Snak(
	Entity property,
	Object dataValue
)

Parameters

property  Entity
The property. It should have valid Id and DataType.
dataValue  Object
The data value of the property.
Exceptions
ExceptionCondition
ArgumentNullExceptionproperty is null.
ArgumentExceptionproperty is not Wikibase property, or does not contain required information.
See Also