共用方式為


SPEventPropertiesBase.EventType property

取得事件的型別。

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

Syntax

'宣告
Public Property EventType As SPEventReceiverType
    Get
    Protected Set
'用途
Dim instance As SPEventPropertiesBase
Dim value As SPEventReceiverType

value = instance.EventType

instance.EventType = value
public SPEventReceiverType EventType { get; protected set; }

Property value

Type: Microsoft.SharePoint.SPEventReceiverType
傳回SPEventReceiverType物件,代表事件類型。

請參閱

參照

SPEventPropertiesBase class

SPEventPropertiesBase members

Microsoft.SharePoint namespace