Partager via


UserCustomAction.RegistrationType Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property RegistrationType As UserCustomActionRegistrationType
    Get
    Set
'Usage
Dim instance As UserCustomAction
Dim value As UserCustomActionRegistrationType

value = instance.RegistrationType

instance.RegistrationType = value
[RemoteAttribute]
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