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)
Available in Sandboxed Solutions: No
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
linkType
Type: Microsoft.SharePoint.Administration.SPActionLinkTypeAn SPActionLinkType value that specifies the link type.
url
Type: System.StringA string that contains the URL.
promptMessage
Type: System.StringA string that contains the message to display in a dialog box before the action occurs.