次の方法で共有


EventHandlerCollection.GetById メソッド

オブジェクト ID を使用して、コレクションからイベント ハンドラー要素を取得します。

名前空間:  Microsoft.ProjectServer.Client
アセンブリ:  Microsoft.ProjectServer.Client (Microsoft.ProjectServer.Client.dll 内)

構文

'宣言
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As EventHandler
'使用
Dim instance As EventHandlerCollection
Dim objectId As String
Dim returnValue As EventHandler

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

パラメーター

  • objectId
    型: System.String

    文字列形式のオブジェクト ID。

戻り値

型: Microsoft.ProjectServer.Client.EventHandler
EventHandlerオブジェクト。

関連項目

参照先

EventHandlerCollection クラス

EventHandlerCollection メンバー

Microsoft.ProjectServer.Client 名前空間