add_field


Description:

[ Version ( since = "23.0.0" ) ]
public void add_field (string name, bool nullability, HashTable<string,string>? metadata)

Adds a field to the struct options with the specified name, nullability, and optional metadata.

Parameters:

this

A MakeStructOptions.

name

The name of the field to add.

nullability

Whether the field is nullable.

metadata

A GenericSet for the field's metadata, or null.