共用方式為


SPItemEventProperties.Zone property

取得發生該事件相關聯的網站區域。

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

Syntax

'宣告
Public ReadOnly Property Zone As SPUrlZone
    Get
'用途
Dim instance As SPItemEventProperties
Dim value As SPUrlZone

value = instance.Zone
public SPUrlZone Zone { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPUrlZone
SPUrlZone 與事件相關聯的網站。

請參閱

參照

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace