RouteCollection.Item[String] プロパティ

定義

指定した名前を持つコレクションのルートを取得します。

public:
 property System::Web::Routing::RouteBase ^ default[System::String ^] { System::Web::Routing::RouteBase ^ get(System::String ^ name); };
public System.Web.Routing.RouteBase this[string name] { get; }
member this.Item(string) : System.Web.Routing.RouteBase
Default Public ReadOnly Property Item(name As String) As RouteBase

パラメーター

name
String

取得するルートを識別する値。

プロパティ値

指定した名前を持つオブジェクト。namenull、空の文字列、またはコレクション内のいずれのルートとも一致しない名前の場合は null

注釈

メソッドと メソッドを GetReadLock 使用して、他の GetWriteLock プロセスとの競合なしでコレクションと対話することを確認します。

適用対象

こちらもご覧ください