編輯

共用方式為


BalloonLabel Interface

Definition

Represents a label in the Office Assistant balloon.

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

Remarks

The BalloonLabel object is a member of the BalloonLabels collection.

Use Labels(index), where index is a number from 1 through 5, to return a BalloonLabel object. There can be up to five labels on one balloon; each label appears when a value is assigned to its Text property.

Balloon check boxes display the user's choices until he or she 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 be set to msoBalloonTypeButtons.

Properties

Application

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

Creator

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

Item

Returns the text associated with an object.

Name

Returns the name of the specified object.

Parent

Returns the parent object for the specified object.

Text

Returns or sets the text displayed next to a check box or label in the Office Assistant balloon.

Applies to