SPActionLink constructor (SPActionLinkType, String, String)

Initializes a new instance of the SPActionLink class based on the specified link type, URL, and prompt message.

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

Syntax

'Declaration
Public Sub New ( _
    linkType As SPActionLinkType, _
    url As String, _
    promptMessage As String _
)
'Usage
Dim linkType As SPActionLinkType
Dim url As String
Dim promptMessage As String

Dim instance As New SPActionLink(linkType, _
    url, promptMessage)
public SPActionLink(
    SPActionLinkType linkType,
    string url,
    string promptMessage
)

Parameters

  • promptMessage
    Type: System.String

    A string that contains the message to display in a dialog box before the action occurs.

See also

Reference

SPActionLink class

SPActionLink members

SPActionLink overload

Microsoft.SharePoint.Administration namespace