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.
Returns a string that represents this RibbonDropDownItem object.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As RibbonDropDownItem
Dim returnValue As String
returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
public override function ToString() : String
Return Value
Type: System.String
A string that represents this RibbonDropDownItem object.
Remarks
This method is used at design time to generate human-readable names for newly created RibbonDropDownItem controls.
If this RibbonDropDownItem has a Label of nonzero length, then the label text is returned. Otherwise, the string returned is "Item" followed by a unique integer specific to this RibbonDropDownItem.
.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.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace