BuildingBlockGalleryContentControl.Tag Property
Gets or sets a string that you want to associate with the BuildingBlockGalleryContentControl.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Property Tag As String
string Tag { get; set; }
Property Value
Type: System.String
A string that you want to associate with the BuildingBlockGalleryContentControl.
Remarks
You can use the Tag property to store a string that is associated with the BuildingBlockGalleryContentControl while the document is open.
You can use the SelectContentControlsByTag method to find a content control by its tag.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.