Edytuj

Udostępnij za pośrednictwem


BalloonLabels Interface

Definition

A collection of BalloonLabel objects that represent all the labels in the Office Assistant balloon.

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

Remarks

Use the Labels property to return the BalloonLabels collection.

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

Balloon check boxes display the user's choices until the user dismisses the balloon. You can use balloon labels to return a number corresponding to the user's choice in the Select method 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 BalloonLabel object.

Name

Returns or sets the name of the specified object.

Parent

Returns the parent object for the specified object.

Methods

GetEnumerator()

Applies to