ContentControlBase.ID Property (2007 System)
Gets a unique number that identifies the content control.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property ID As String
'Usage
Dim instance As ContentControlBase
Dim value As String
value = instance.ID
public string ID { get; }
public:
property String^ ID {
String^ get ();
}
public function get ID () : String
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
- 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.