Per Mausklick bewerten und Feedback geben
MSDN
MSDN Library
Visual Studio 2005
Verweis
Microsoft.Office.Core
 Tag Property
Alle reduzieren/Alle erweitern Alle reduzieren
Office Core Primary Interop Assembly Reference
CommandBarControl.Tag Property
Returns or sets information about the command bar control, such as data that can be used as an argument in procedures, or information that identifies the control.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Visual Basic
Dim commandBarControl1 As CommandBarControl

Dim returnValue As String
returnValue = commandBarControl1.Tag

Dim sampleValue As String
commandBarControl1.Tag = sampleValue
Visual Basic
Property Tag() As String
C#
string Tag {get; set;}
C++
property String^ Tag{
	String^ get();
	Void set(String^);
}
J#
public System.String get_Tag();
public void set_Tag(System.String);
JScript
function get Tag() : String;
function set Tag(String);

To avoid duplicate calls of the same class when triggered with events, define the Tag property unique to the events.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2012 Microsoft. Alle Rechte vorbehalten. Nutzungsbedingungen | Markenzeichen | Informationen zur Datensicherheit
Page view tracker