Share via


UserCustomAction.RegistrationType property

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

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

Syntax

'Declaration
Public Property RegistrationType As UserCustomActionRegistrationType
    Get
    Set
'Usage
Dim instance As UserCustomAction
Dim value As UserCustomActionRegistrationType

value = instance.RegistrationType

instance.RegistrationType = value
public UserCustomActionRegistrationType RegistrationType { get; set; }

Property value

Type: Microsoft.SharePoint.Client.UserCustomActionRegistrationType
Returns a UserCustomActionRegistrationType instance representing the type of object associated with the custom action

Remarks

It must be List if the RegistrationId is a list identifier or list template. It must be ContentType if the RegistrationId is a content type identifier. It must be ProgID if the RegistrationId is a ProgID. It must be FileType if the RegistrationId is a file extension.

See also

Reference

UserCustomAction class

UserCustomAction members

Microsoft.SharePoint.Client namespace