| Snak(String, Object, WikibaseDataType) Constructor |
This is preliminary documentation and is subject to change.
Initializes a snak with specified property ID and data value.
Namespace: WikiClientLibrary.WikibaseAssembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax public Snak(
string propertyId,
Object dataValue,
WikibaseDataType dataType
)
Public Sub New (
propertyId As String,
dataValue As Object,
dataType As WikibaseDataType
)
Dim propertyId As String
Dim dataValue As Object
Dim dataType As WikibaseDataType
Dim instance As New Snak(propertyId,
dataValue, dataType)
public:
Snak(
String^ propertyId,
Object^ dataValue,
WikibaseDataType^ dataType
)
new :
propertyId : string *
dataValue : Object *
dataType : WikibaseDataType -> Snak
Parameters
- propertyId String
- The property id.
- dataValue Object
- The data value of the property.
- dataType WikibaseDataType
- The data value type.
Exceptions Exception | Condition |
---|
ArgumentNullException | propertyId or dataType is null. |
See Also