Click or drag to resize

Snak(String, SnakType) Constructor

This is preliminary documentation and is subject to change.

Initializes a snak with specified property ID and snak type.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Snak(
	string propertyId,
	SnakType snakType
)

Parameters

propertyId  String
The property id.
snakType  SnakType
Snak type.
Remarks
If you set snakType to Value, remember to set DataType and DataValue to valid values afterwards.
See Also