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
linkType
Type : Microsoft.SharePoint.Administration.SPActionLinkTypeUne valeur SPActionLinkType qui spécifie le type de lien.
url
Type : System.StringChaîne qui contient l'URL.
promptMessage
Type : System.StringChaîne qui contient le message à afficher dans une boîte de dialogue avant que l'action se produit.