HttpHandlerActionCollection.IndexOf メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpHandlerActionCollection.IndexOf メソッドの意味・解説 

HttpHandlerActionCollection.IndexOf メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

指定した HttpHandlerAction オブジェクトコレクション インデックス取得します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Function IndexOf ( _
    action As HttpHandlerAction _
) As Integer
Dim instance As HttpHandlerActionCollection
Dim action As HttpHandlerAction
Dim returnValue As Integer

returnValue = instance.IndexOf(action)
public int IndexOf (
    HttpHandlerAction action
)
public:
int IndexOf (
    HttpHandlerAction^ action
)
public int IndexOf (
    HttpHandlerAction action
)
public function IndexOf (
    action : HttpHandlerAction
) : int

パラメータ

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)

// Get the specified handler's index.
HttpHandlerAction httpHandler2 = new HttpHandlerAction(
"Calculator.custom",
"Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler",
"GET", true);
int handlerIndex = httpHandlers.IndexOf(httpHandler2);

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpHandlerActionCollection クラス
HttpHandlerActionCollection メンバ
System.Web.Configuration 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からHttpHandlerActionCollection.IndexOf メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からHttpHandlerActionCollection.IndexOf メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHttpHandlerActionCollection.IndexOf メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

HttpHandlerActionCollection.IndexOf メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpHandlerActionCollection.IndexOf メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS