Partager via


UserCustomAction.RegistrationId - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Property RegistrationId As String
    Get
    Set
'Utilisation
Dim instance As UserCustomAction
Dim value As String

value = instance.RegistrationId

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

Valeur de propriété

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

Remarques

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.

Voir aussi

Référence

UserCustomAction classe

UserCustomAction - Membres

Microsoft.SharePoint.Client - Espace de noms