![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IPortableWriterWriteShort Method |
Writes a primitive short.
Namespace:
Hazelcast.IO.Serialization
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxvoid WriteShort(
string fieldName,
short value
)
Sub WriteShort (
fieldName As String,
value As Short
)
void WriteShort(
String^ fieldName,
short value
)
abstract WriteShort :
fieldName : string *
value : int16 -> unit
Parameters
- fieldName
- Type: SystemString
name of the field - value
- Type: SystemInt16
int value to be written
Exceptions
RemarksWrites a primitive short.
See Also