Show / Hide Table of Contents

Method CreateDateOnly

CreateDateOnly(string, string?)

Creates a new DateOnly field.

Declaration
public static Field CreateDateOnly(string name, string? alias = null)
Parameters
Type Name Description
string name

Name of the field.

string alias

Optional alias of the field.

Returns
Type Description
Field

A new Field object.

Remarks

Use this method to create a field. The field will be editable and nullable.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.4 - 200.8
.NET200.4 - 300.0
.NET Windows200.4 - 300.0
.NET Android200.4 - 300.0
.NET iOS200.4 - 300.0
.NET Framework200.4 - 200.8
UWP200.4 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.