共用方式為


UserCustomAction.RegistrationId 屬性

取得或設定值,指定自訂動作相關聯的物件識別碼。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Property RegistrationId As String
    Get
    Set
'用途
Dim instance As UserCustomAction
Dim value As String

value = instance.RegistrationId

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

屬性值

類型:System.String
傳回代表該自訂動作相關聯的物件識別碼String執行個體。

備註

如果 RegistrationType Microsoft.SharePoint.Client.UserCustomActionRegistrationType.List,它必須是清單識別碼或清單範本。如果 RegistrationType Microsoft.SharePoint.Client.UserCustomActionRegistrationType.ContentType,它必須是內容類型的識別碼。如果 RegistrationType Microsoft.SharePoint.Client.UserCustomActionRegistrationType.ProgId,它必須是 ProgID。如果 RegistrationType Microsoft.SharePoint.Client.UserCustomActionRegistrationType.FileType,它必須是檔案副檔名。

請參閱

參照

UserCustomAction 類別

UserCustomAction 成員

Microsoft.SharePoint.Client 命名空間