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

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

AuthorizationRuleCollection.IndexOf メソッド

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

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

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

Public Function IndexOf ( _
    rule As AuthorizationRule _
) As Integer
Dim instance As AuthorizationRuleCollection
Dim rule As AuthorizationRule
Dim returnValue As Integer

returnValue = instance.IndexOf(rule)
public int IndexOf (
    AuthorizationRule rule
)
public:
int IndexOf (
    AuthorizationRule^ rule
)
public int IndexOf (
    AuthorizationRule rule
)
public function IndexOf (
    rule : AuthorizationRule
) : int

パラメータ

rule

インデックスが返される AuthorizationRule オブジェクト。

戻り値
指定した AuthorizationRule オブジェクトのインデックス。

使用例使用例

IndexOf メソッドを使用するコード例を次に示します。

' Get the rule collection index.
  Dim ruleIndex As System.Int32 = _
  authorizationSection.Rules.IndexOf(authorizationRule)
// Get the rule collection index.
System.Int32 ruleIndex = 
    authorizationSection.Rules.IndexOf(authorizationRule);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
AuthorizationRuleCollection クラス
AuthorizationRuleCollection メンバ
System.Web.Configuration 名前空間
その他の技術情報
authorization 要素 (ASP.NET 設定スキーマ)



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



AuthorizationRuleCollection.IndexOf メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS