| Snak(Entity, Object) Constructor |
This is preliminary documentation and is subject to change.
Initializes a snak with specified property and data value.
Namespace: WikiClientLibrary.WikibaseAssembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Snak(
Entity property,
Object dataValue
)
Public Sub New (
property As Entity,
dataValue As Object
)
Dim property As Entity
Dim dataValue As Object
Dim instance As New Snak(property,
dataValue)
public:
Snak(
Entity^ property,
Object^ dataValue
)
new :
property : Entity *
dataValue : Object -> Snak
Parameters
- property Entity
- The property. It should have valid Id and DataType.
- dataValue Object
- The data value of the property.
Exceptions See Also