共用方式為


SPUserCustomAction.RegistrationId Property

Gets and sets the identifier of the list or item content type that this custom action is associated with, or the file type or program identifier (ProgID).

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute> _
Public Overridable Property RegistrationId As String
    Get
    Set
'Usage
Dim instance As SPUserCustomAction
Dim value As String

value = instance.RegistrationId

instance.RegistrationId = value
[ClientCallablePropertyAttribute]
public virtual string RegistrationId { get; set; }

Property Value

Type: System.String
The registration identifier.

See Also

Reference

SPUserCustomAction Class

SPUserCustomAction Members

Microsoft.SharePoint Namespace

RegistrationType