Compartir a través de


UserCustomAction.RegistrationId Property

Gets or sets the value that specifies the identifier of the 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 RegistrationId As String
    Get
    Set
'Usage
Dim instance As UserCustomAction
Dim value As String

value = instance.RegistrationId

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