EventHandlerCollection 類別

代表EventHandler物件的集合。

繼承階層架構

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<EventHandler>
        Microsoft.ProjectServer.Client.EventHandlerCollection

命名空間:  Microsoft.ProjectServer.Client
組件:  Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)

語法

'宣告
<ScriptTypeAttribute("PS.EventHandlerCollection", ServerTypeId := "{75b6a163-cb27-4513-9bec-47d8e4804a06}")> _
Public Class EventHandlerCollection _
    Inherits ClientObjectCollection(Of EventHandler)
'用途
Dim instance As EventHandlerCollection
[ScriptTypeAttribute("PS.EventHandlerCollection", ServerTypeId = "{75b6a163-cb27-4513-9bec-47d8e4804a06}")]
public class EventHandlerCollection : ClientObjectCollection<EventHandler>

執行緒安全

這類型的任何公用 static (共用 於 Visual Basic 中) 成員是安全執行緒。不保證任何執行個體成員都是安全執行緒。

請參閱

參照

EventHandlerCollection 成員

Microsoft.ProjectServer.Client 命名空間

EventHandler

EventHandlerCreationInformation

EventHandlers