次の方法で共有


ProtocolCollection.Item[] プロパティ

定義

指定された ProtocolElement コレクション項目を取得します。

オーバーロード

Item[Int32]

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

コレクションの指定したインデックス位置にある ProtocolElement オブジェクトを取得します。

Item[String]

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

指定したキーを持つ最初のエントリの値を取得します。

注釈

Item[] は .NET Framework 3.5 で導入されました。 詳細については、「.NET Framework のバージョンおよび依存関係」を参照してください。

Item[Int32]

コレクションの指定したインデックス位置にある ProtocolElement オブジェクトを取得します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

index
Int32

ProtocolElement インスタンス内の ProtocolCollection オブジェクトのインデックス。

プロパティ値

ProtocolElement

ProtocolElement オブジェクト。

注釈

Item[] は .NET Framework 3.5 で導入されました。 詳細については、「.NET Framework のバージョンおよび依存関係」を参照してください。

適用対象

Item[String]

指定したキーを持つ最初のエントリの値を取得します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

name
String

取得するエントリのキー。

プロパティ値

ProtocolElement

指定したキーを持つエントリが存在する場合は、その最初のエントリの値を表す ProtocolElement オブジェクト。それ以外の場合は null

注釈

Item[] は .NET Framework 3.5 で導入されました。 詳細については、「.NET Framework のバージョンおよび依存関係」を参照してください。

適用対象