Share via


TrustLevelCollection.Item[] プロパティ

定義

TrustLevel オブジェクト内の指定の TrustLevelCollection 項目を取得します。

オーバーロード

Item[Int32]

TrustLevel オブジェクト内の指定したインデックス位置にある TrustLevelCollection 項目を取得または設定します。

Item[String]

指定したインデックス位置にある TrustLevel オブジェクトを取得します。

Item[Int32]

TrustLevel オブジェクト内の指定したインデックス位置にある TrustLevelCollection 項目を取得または設定します。

public:
 property System::Web::Configuration::TrustLevel ^ default[int] { System::Web::Configuration::TrustLevel ^ get(int index); void set(int index, System::Web::Configuration::TrustLevel ^ value); };
public System.Web.Configuration.TrustLevel this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.TrustLevel with get, set
Default Public Property Item(index As Integer) As TrustLevel

パラメーター

index
Int32

TrustLevel の数値インデックス。

プロパティ値

指定したインデックスにある TrustLevel

注釈

TrustLevel指定したインデックスにオブジェクトが存在する場合、TrustLevelオブジェクトは削除され、新しいオブジェクトが追加されます。 インデックスにオブジェクトが存在しない TrustLevel 場合は、新しいオブジェクトが追加されます。

適用対象

Item[String]

指定したインデックス位置にある TrustLevel オブジェクトを取得します。

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

パラメーター

key
String

TrustLevel のインデックス。

プロパティ値

TrustLevel の指定したインデックス位置にある TrustLevelCollection

注釈

オブジェクトは TrustLevel 、 オブジェクト内の指定したインデックスに存在する TrustLevelCollection 必要があります。

適用対象