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.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
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