共用方式為


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
)

參數

  • promptMessage
    Type: System.String

    字串,包含之前發生的動作,在對話方塊中顯示訊息。

請參閱

參照

SPActionLink class

SPActionLink members

SPActionLink overload

Microsoft.SharePoint.Administration namespace