GroupContentControl.Tag Property (2007 System)

Gets or sets a string that you want to associate with the GroupContentControl.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Property Tag As String
'Usage
Dim instance As GroupContentControl 
Dim value As String 

value = instance.Tag

instance.Tag = value
public string Tag { get; set; }
public:
property String^ Tag {
    String^ get ();
    void set (String^ value);
}
public function get Tag () : String 
public function set Tag (value : String)

Property Value

Type: System.String
A string that you want to associate with the GroupContentControl.

Remarks

You can use the Tag property to store a string that is associated with the GroupContentControl while the document is open.

To find a content control by its tag, use the SelectContentControlsByTag method.

.NET Framework Security

See Also

Reference

GroupContentControl Class

GroupContentControl Members

Microsoft.Office.Tools.Word Namespace