RichTextContentControl::Tag Property

 

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

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

property String^ Tag {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A string that you want to associate with the RichTextContentControl.

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

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

Return to top
Show: