共用方式為


SPRibbonMenuItem.Text Property

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Text As String
    Get
'Usage
Dim instance As SPRibbonMenuItem
Dim value As String

value = instance.Text
public string Text { get; }

Property Value

Type: System.String

See Also

Reference

SPRibbonMenuItem Class

SPRibbonMenuItem Members

Microsoft.SharePoint.WebControls Namespace