共用方式為


EventCollection class

表示Event物件的集合。

Inheritance hierarchy

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

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'宣告
<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>

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

EventCollection members

Microsoft.ProjectServer.Client namespace

Event

EventCreationInformation

Events