PictureContentControl.Tag 屬性

取得或設定要與 PictureContentControl 產生關聯的字串。

命名空間:  Microsoft.Office.Tools.Word
組件:  Microsoft.Office.Tools.Word (在 Microsoft.Office.Tools.Word.dll 中)

語法

'宣告
Property Tag As String
string Tag { get; set; }

屬性值

型別:System.String
要與 PictureContentControl 產生關聯的字串。

備註

您可以使用 Tag 屬性,在文件開啟時儲存與 PictureContentControl 關聯的字串。

若要根據標記 (Tag) 尋找內容控制項,請使用 SelectContentControlsByTag 方法。

.NET Framework 安全性

請參閱

參考

PictureContentControl 介面

Microsoft.Office.Tools.Word 命名空間