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以字串形式物件識別碼。
傳回值
類型:Microsoft.ProjectServer.Client.EventHandler
EventHandler物件。