Edit

Share via


TaskDialogRadioButtonCollection.Add(String) Method

Definition

Creates and adds a TaskDialogRadioButton to the collection.

public:
 System::Windows::Forms::TaskDialogRadioButton ^ Add(System::String ^ text);
public System.Windows.Forms.TaskDialogRadioButton Add (string? text);
override this.Add : string -> System.Windows.Forms.TaskDialogRadioButton
Public Function Add (text As String) As TaskDialogRadioButton

Parameters

text
String

The text of the radio button.

Returns

The created TaskDialogRadioButton.

Exceptions

This collection is currently bound to a task dialog.

Applies to