Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Models Inheritance: System.Object

Syntax

Summary

One field on an EdmElicitForm.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

DefaultBool

Gets or sets the default boolean value.

Syntax

Property Value

Type: System.Nullable<bool>?

DefaultNumber

Gets or sets the default numeric value.

Syntax

Property Value

Type: System.Nullable<double>?

DefaultString

Gets or sets the default string or single-select value.

Syntax

Property Value

Type: string?

DefaultStrings

Gets or sets the default multi-select values.

Syntax

Property Value

Type: System.Collections.Generic.IReadOnlyList<string>?

Description

Gets or sets the description shown with the field.

Syntax

Property Value

Type: string?

Format

Gets or sets the string format: email, uri, date, or date-time.

Syntax

Property Value

Type: string?

Maximum

Gets or sets the maximum numeric value.

Syntax

Property Value

Type: System.Nullable<double>?

MaxItems

Gets or sets the maximum number of selected items on a multi-select field.

Syntax

Property Value

Type: System.Nullable<int>?

MaxLength

Gets or sets the maximum string length.

Syntax

Property Value

Type: System.Nullable<int>?

Minimum

Gets or sets the minimum numeric value.

Syntax

Property Value

Type: System.Nullable<double>?

MinItems

Gets or sets the minimum number of selected items on a multi-select field.

Syntax

Property Value

Type: System.Nullable<int>?

MinLength

Gets or sets the minimum string length.

Syntax

Property Value

Type: System.Nullable<int>?

Name

Gets or sets the camelCase wire name.

Syntax

Property Value

Type: string

Options

Gets or sets the allowed values for enum and multi fields.

Syntax

Property Value

Type: System.Collections.Generic.List<Microsoft.OData.Mcp.Core.Models.EdmElicitFormOption>

Required

Gets or sets whether the field is listed in required.

Syntax

Property Value

Type: bool

Title

Gets or sets the display title.

Syntax

Property Value

Type: string?

Type

Gets or sets the primitive kind.

Syntax

Property Value

Type: Microsoft.OData.Mcp.Core.Models.EdmElicitFormFieldType?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?