다음을 통해 공유


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

  • 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