.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    SetInt16 Method

    SetInt16(string, short)

    Adds a Int16 field to the record.

    Declaration
    IGenericRecordBuilder SetInt16(string fieldname, short value)
    Parameters
    string fieldname

    The name of the field.

    short value

    The value of the field.

    Returns
    IGenericRecordBuilder

    This IGenericRecordBuilder.

    Remarks

    It is legal to set the field again only when the builder is created with NewBuilderWithClone(); it is otherwise illegal to set to the same field twice.

    Exceptions
    SerializationException

    The build has been initialized with a schema, and fieldname is not the name of field of that schema, or the type of the field does not match the specified value, or the field value is set multiple times.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.