共用方式為


SPItemEventProperties.BeforeUrl property

事件發生之前,請取得項目的 URL。

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

Syntax

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

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

Property value

Type: System.String
字串,包含 URL 的項目事件之前發生。

請參閱

參照

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace