Edytuj

Udostępnij za pośrednictwem


BalloonCheckboxes Interface

Definition

A collection of BalloonCheckbox objects that represent all the check boxes in the Office Assistant balloon.

public interface class BalloonCheckboxes : Microsoft::Office::Core::_IMsoDispObj, System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000C0326-0000-0000-C000-000000000046")]
public interface BalloonCheckboxes : Microsoft.Office.Core._IMsoDispObj, System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("000C0326-0000-0000-C000-000000000046")>]
type BalloonCheckboxes = interface
    interface _IMsoDispObj
    interface IEnumerable
Public Interface BalloonCheckboxes
Implements _IMsoDispObj, IEnumerable
Attributes
Implements

Remarks

Use the Checkboxes property to return the BalloonCheckBoxes collection.

Use CheckBoxes(index), where index is a number from 1 through 5, to return a single BalloonCheckBox object. You can specify up to five check boxes (and five labels) per balloon; each check box appears when a value is assigned to its Text property. If you specify more than five check boxes, a run-time error occurs.

You cannot add check boxes to or remove check boxes from the BalloonCheckBoxes collection after the balloon has been displayed.

Balloon check boxes display the user's choices until the user dismisses the balloon. You can use balloon labels in conjunction with the Select method to return a number corresponding to the user's choice of check boxes as soon as the user clicks the button beside the label. To pass values to the Select method based on the user's choice, you must have the balloon type set to msoBalloonTypeButtons.

Properties

Application

Returns an Application object that represents the container application for the object.

Count

Returns or sets an Integer indicating the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Int32]

Returns a BalloonCheckbox object.

Name

Returns the name of the specified object.

Parent

Returns the parent object for the specified object.

Methods

GetEnumerator()

Applies to