PSEventNameMap.GetEventName メソッド
指定したイベントの名前を取得します。
名前空間: Microsoft.Office.Project.Server.Library
アセンブリ: Microsoft.Office.Project.Server.Library (Microsoft.Office.Project.Server.Library.dll 内)
構文
'宣言
Public Shared Function GetEventName ( _
id As PSEventID _
) As String
'使用
Dim id As PSEventID
Dim returnValue As String
returnValue = PSEventNameMap.GetEventName(id)
public static string GetEventName(
PSEventID id
)
パラメーター
id
型: Microsoft.Office.Project.Server.Library.PSEventIDイベントの id 番号。
戻り値
型: System.String
イベントの名前を指定します。
注釈
たとえば、 PSEventNameMap.GetEventName(PSEventId.ProjectDeleted)ステートメントは、値"Deleted"を返します。