共用方式為


ChoiceDescription Class

Definition

Provides a description of a choice for use by PromptForChoice(String, String, Collection<ChoiceDescription>, Int32).

public ref class ChoiceDescription sealed
public sealed class ChoiceDescription
type ChoiceDescription = class
Public NotInheritable Class ChoiceDescription
Inheritance
ChoiceDescription

Constructors

ChoiceDescription(String, String)

Initializes an new instance of ChoiceDescription and defines the Label and HelpMessage values.

ChoiceDescription(String)

Initializes an new instance of ChoiceDescription and defines the Label value.

Properties

HelpMessage

Gets and sets the help message for this field.

Label

Gets a short, human-presentable message to describe and identify the choice. Think Button label.

Applies to