BuildingBlockGalleryContentControl.Tag 属性

获取或设置要与 BuildingBlockGalleryContentControl 关联的字符串。

命名空间:  Microsoft.Office.Tools.Word
程序集:  Microsoft.Office.Tools.Word(在 Microsoft.Office.Tools.Word.dll 中)

语法

声明
Property Tag As String
    Get
    Set
string Tag { get; set; }

属性值

类型:System.String
一个要与 BuildingBlockGalleryContentControl 关联的字符串。

备注

使用 Tag 属性可以在文档打开时存储与 BuildingBlockGalleryContentControl 关联的字符串。

使用 SelectContentControlsByTag 方法可以根据标记查找内容控件。

.NET Framework 安全性

请参见

参考

BuildingBlockGalleryContentControl 接口

Microsoft.Office.Tools.Word 命名空间