Share via


ContentControlBase.ID Property

Gets a unique number that identifies the content control.

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

Syntax

'Declaration
ReadOnly Property ID As String
string ID { get; }

Property Value

Type: System.String
A unique number that identifies the content control.

Remarks

The value of the ID property is determined by Microsoft Office Word. You can use this value to identify a content control in code. The value is unique for each content control and it cannot be changed.

.NET Framework Security

See Also

Reference

ContentControlBase Interface

Microsoft.Office.Tools.Word Namespace