共用方式為


SPUserCustomAction.CommandUIExtension property

取得並設定定義延伸至功能區 XML。

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

Syntax

'宣告
Public Property CommandUIExtension As String
    Get
    Set
'用途
Dim instance As SPUserCustomAction
Dim value As String

value = instance.CommandUIExtension

instance.CommandUIExtension = value
public string CommandUIExtension { get; set; }

Property value

Type: System.String
字串,包含擴充功能區的 XML 元素。

備註

此屬性所傳回的字串包含都可當地語系化元素。因此傳回的值可以根據目前的執行緒Thread.CurrentUICulture屬性而異。如需詳細資訊,請參閱 < CommandUIExtensionResource屬性。

請參閱

參照

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace

CommandUIExtensionResource

其他資源

Declarative Customization of the Server Ribbon

CommandUIExtension Element