Field<T>.SetType(Type) Method

Definition

Sets the type of the underlying field state.

public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> SetType (Type type);
member this.SetType : Type -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function SetType (type As Type) As Field(Of T)

Parameters

type
Type

The field type.

Returns

A Field<T>.

Applies to