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