Share via


UserCustomAction.RegistrationId property

Gets or sets the value that specifies the identifier of the object associated with the custom action.

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

Syntax

'Declaration
Public Property RegistrationId As String
    Get
    Set
'Usage
Dim instance As UserCustomAction
Dim value As String

value = instance.RegistrationId

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

Property value

Type: System.String
Returns a String instance representing the identifier of the object associated with the custom action.

Remarks

It must be a list identifier or list template if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.List. It must be a content type identifier if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.ContentType. It must be a ProgID if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.ProgId. It must be a file extension if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.FileType.

See also

Reference

UserCustomAction class

UserCustomAction members

Microsoft.SharePoint.Client namespace