.NET Client Documentation
5.2.2
Search Results for

    Show / Hide Table of Contents

    NewBuilder Method

    NewBuilder()

    Creates a new GenericRecordBuilder for this record's schema, with all the fields being non-initialized.

    Declaration
    IGenericRecordBuilder NewBuilder()
    Returns
    IGenericRecordBuilder

    A new GenericRecordBuilder.

    Remarks

    This method is a convenience method to get a builder without creating the schema for the type, but by re-using the schema of this record. See Compact(string) for creating a generic record in compact form, with a new schema.

    Examples

    var rec2 = rec1.NewBuilder() .SetBoolean("field-bool", true) .SetInt32("field-int", 1234) .Build();

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