HttpHandlerActionCollection.IndexOf メソッド
アセンブリ: System.Web (system.web.dll 内)

Dim instance As HttpHandlerActionCollection Dim action As HttpHandlerAction Dim returnValue As Integer returnValue = instance.IndexOf(action)
戻り値
コレクション インデックス値。

このメソッドを使用する前に、適切な名前と型を使用して HttpHandlerAction オブジェクトを指定する必要があります。その後で、このオブジェクトを使用して、コレクション インデックスを取得できます。

HttpHandlerAction オブジェクトのコレクション インデックスを取得する方法を次のコード例に示します。
'Get the specified handler's index. Dim httpHandler2 As System.Web.Configuration.HttpHandlerAction = new HttpHandlerAction( _ "Calculator.custom", _ "Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler", _ "GET", _ true) Dim handlerIndex As Integer = httpHandlers.IndexOf(httpHandler2)

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からHttpHandlerActionCollection.IndexOf メソッドを検索する場合は、下記のリンクをクリックしてください。

- HttpHandlerActionCollection.IndexOf メソッドのページへのリンク