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 オブジェクト内の指定したインデックスに存在する必要があります。

適用対象