SPActionLink constructor (SPActionLinkType, String, String)
初始化根據指定的連結類型、 URL 及提示訊息SPActionLink類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
linkType As SPActionLinkType, _
url As String, _
promptMessage As String _
)
'用途
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
)
參數
linkType
Type: Microsoft.SharePoint.Administration.SPActionLinkType會指定連結類型SPActionLinkType值。
url
Type: System.String包含 URL 的字串。
promptMessage
Type: System.String字串,包含之前發生的動作,在對話方塊中顯示訊息。