Share via


BalloonCheckboxes 接口

定义

对象的集合 BalloonCheckbox ,这些对象表示 Office 助手气球中的所有复选框。

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

注解

Checkboxes使用 属性可返回 BalloonCheckBoxes 集合。

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

显示气球后,无法向 BalloonCheckBoxes 集合添加复选框或从中删除复选框。

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

属性

Application

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

Count

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

Creator

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

Item[Int32]

返回 对象 BalloonCheckbox

Name

返回指定对象的名称。

Parent

返回指定对象的父对象。

方法

GetEnumerator()

对象的集合 BalloonCheckbox ,这些对象表示 Office 助手气球中的所有复选框。

适用于