.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    SetInt64 Method

    SetInt64(string, long)

    Adds a Int64 field to the record.

    Declaration
    IGenericRecordBuilder SetInt64(string fieldname, long value)
    Parameters
    string fieldname

    The name of the field.

    long 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.