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