共用方式為


OlkOptionButton Object (Outlook)

A control that supports a single exclusive selection within a defined group of option button choices.

Version Information

Version Added: Outlook 2007

Remarks

Before you use this control for the first time in the forms designer, add the Microsoft Outlook Option Button Control to the control toolbox. You can only add this control to a form region in an Outlook form using the forms designer.

The following is an example of an option button control at runtime. This control supports Microsoft Windows themes.

Ff868387.olOptionButton_ZA10120824(en-us,office.14).gif

Typically more than one option button control is defined in a group. Each option button control in the group provides a single, mutually exclusive choice. Selecting one option button in the group will automatically remove the prior selection of another option button in the same group.

For more information about Outlook controls, see Controls in a Custom Form. For examples of add-ins in C# and Visual Basic .NET that use Outlook controls, see code sample downloads on MSDN.

See Also

Concepts

Outlook Object Model Reference

OlkOptionButton Object Members