Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets a string that you want to associate with the ComboBoxContentControl.
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 ComboBoxContentControl
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 ComboBoxContentControl.
Remarks
You can use the Tag property to store a string that is associated with the ComboBoxContentControl 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.