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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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