次の方法で共有


SectionDefinitionCollection クラス

定義

関連 SectionDefinition オブジェクトのコレクションを表します。

public ref class SectionDefinitionCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::Web::Administration::SectionDefinition ^>, System::Collections::ICollection
public sealed class SectionDefinitionCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Administration.SectionDefinition>, System.Collections.ICollection
type SectionDefinitionCollection = class
    interface ICollection
    interface seq<SectionDefinition>
    interface IEnumerable
Public NotInheritable Class SectionDefinitionCollection
Implements ICollection, IEnumerable(Of SectionDefinition)
継承
SectionDefinitionCollection
実装

注釈

クラスを SectionDefinitionCollection 使用して、オブジェクトの SectionDefinition コレクションを反復処理します。 このオブジェクトのコレクションには、 プロパティを Microsoft.Web.Administration.SectionGroup.Sections 使用してアクセスできます。

プロパティ

Count

コレクション内のセクション定義の数を取得します。

Item[Int32]

指定したインデックス位置にある指定したセクション定義を取得します。

Item[String]

指定した名前を持つ指定したセクション定義を取得します。

メソッド

Add(String)

新しいセクション定義をコレクションに追加します。

GetEnumerator()

セクション定義コレクションを反復処理するジェネリック列挙子を返します。

Remove(String)

指定したセクション定義をコレクションから削除します。

明示的なインターフェイスの実装

ICollection.CopyTo(Array, Int32)

配列にコレクションをコピーします。

ICollection.IsSynchronized

関連 SectionDefinition オブジェクトのコレクションを表します。

ICollection.SyncRoot

関連 SectionDefinition オブジェクトのコレクションを表します。

IEnumerable.GetEnumerator()

セクション定義コレクションを反復処理する列挙子を返します。

適用対象