Freigeben über


SPActionLink-Konstruktor (SPActionLinkType, String, String)

Initialisiert eine neue Instanz der Klasse SPActionLink basierend auf den angegebenen Linktyp, URL und Prompt Nachricht.

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
)

Parameter

  • promptMessage
    Typ: System.String

    Eine Zeichenfolge, die die Nachricht in einem Dialogfeld angezeigt werden soll, bevor die Aktion stattfindet enthält.

Siehe auch

Referenz

SPActionLink Klasse

SPActionLink-Member

SPActionLink-Überladung

Microsoft.SharePoint.Administration-Namespace