Share via


BalloonLabels 接口

定义

表示 Office 助手气球中的所有标签的 对象的集合 BalloonLabel

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
属性
实现

注解

Labels使用 属性可返回 BalloonLabels 集合。

使用 Labels (index) (其中 index 是一个介于 1 到 5 的数字)返回 一个 BalloonLabel 对象。 每个气球最多可以指定五个标签 (和五个复选框) ;将值赋给其 Text 属性时,将显示每个标签。 如果指定了五个以上的标签,则会发生运行时错误。

在用户关闭气球之前,气球复选框会显示用户的选项。 一旦用户单击标签旁边的按钮,就可以使用气球标签在 Select 方法中返回与用户选择对应的数字。 若要根据用户的选择将值传递给 Select 方法,必须将气球类型设置为 msoBalloonTypeButtons

属性

Application

返回一个 Application 对象,该对象代表该对象的容器应用程序。

Count

返回或设置一个 Integer 类型的值,该值指示指定集合中的项数。

Creator

返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。

Item[Int32]

返回 对象 BalloonLabel

Name

返回或设置指定对象的名称。

Parent

返回指定对象的父对象。

方法

GetEnumerator()

表示 Office 助手气球中的所有标签的 对象的集合 BalloonLabel

适用于