EventHandlerCollection.GetById method

Get an event handler element from the collection using the object ID.

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

Syntax

'Declaration
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As EventHandler
'Usage
Dim instance As EventHandlerCollection
Dim objectId As String
Dim returnValue As EventHandler

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public EventHandler GetById(
    string objectId
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.EventHandler
An EventHandler object.

See also

Reference

EventHandlerCollection class

EventHandlerCollection members

Microsoft.ProjectServer.Client namespace