Share via


SPActionLink - Constructeur (SPActionLinkType, String, String)

Initialise une nouvelle instance de la classe SPActionLink basée sur le type de lien spécifié, une URL et un message d'invite.

Espace de noms :  Microsoft.SharePoint.Administration
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    linkType As SPActionLinkType, _
    url As String, _
    promptMessage As String _
)
'Utilisation
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
)

Paramètres

  • promptMessage
    Type : System.String

    Chaîne qui contient le message à afficher dans une boîte de dialogue avant que l'action se produit.

Voir aussi

Référence

SPActionLink classe

SPActionLink - Membres

SPActionLink - Surcharge

Microsoft.SharePoint.Administration - Espace de noms