共用方式為


SPItemEventProperties.WebUrl property

取得發生該事件相關聯的 Web 站台的絕對 URL。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property WebUrl As String
    Get
'用途
Dim instance As SPItemEventProperties
Dim value As String

value = instance.WebUrl
public string WebUrl { get; }

Property value

Type: System.String
字串,包含網站的 URL。

請參閱

參照

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace