EventCollection 類別

代表Event物件的集合。

繼承階層架構

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<Event>
        Microsoft.ProjectServer.Client.EventCollection

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

語法

'宣告
<ScriptTypeAttribute("PS.EventCollection", ServerTypeId := "{a6c97dfd-0fc0-49d7-94be-aed4f31f27ce}")> _
Public Class EventCollection _
    Inherits ClientObjectCollection(Of Event)
'用途
Dim instance As EventCollection
[ScriptTypeAttribute("PS.EventCollection", ServerTypeId = "{a6c97dfd-0fc0-49d7-94be-aed4f31f27ce}")]
public class EventCollection : ClientObjectCollection<Event>

執行緒安全

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

請參閱

參照

EventCollection 成員

Microsoft.ProjectServer.Client 命名空間

Event

EventCreationInformation

Events