SectionGroupCollection 类

定义

表示相关 SectionGroup 对象的集合。

public ref class SectionGroupCollection sealed : System::Collections::Generic::IEnumerable<Microsoft::Web::Administration::SectionGroup ^>, System::Collections::ICollection
public sealed class SectionGroupCollection : System.Collections.Generic.IEnumerable<Microsoft.Web.Administration.SectionGroup>, System.Collections.ICollection
type SectionGroupCollection = class
    interface ICollection
    interface seq<SectionGroup>
    interface IEnumerable
Public NotInheritable Class SectionGroupCollection
Implements ICollection, IEnumerable(Of SectionGroup)
继承
SectionGroupCollection
实现

注解

SectionGroupCollection使用 类循环访问 对象的集合SectionGroup。 可以使用 属性访问此对象的 SectionGroups 集合。

属性

Count

获取集合中的节组数目。

Item[Int32]

获取指定索引处的指定节组。

Item[String]

获取具有指定名称的指定节组。

方法

Add(String)

将新的节组添加到集合中。

GetEnumerator()

返回循环访问节组集合的泛型枚举器。

Remove(String)

从集合中删除指定的节组。

显式接口实现

ICollection.CopyTo(Array, Int32)

从目标数组的指定索引开始,将集合复制到数组。

ICollection.IsSynchronized

表示相关 SectionGroup 对象的集合。

ICollection.SyncRoot

表示相关 SectionGroup 对象的集合。

IEnumerable.GetEnumerator()

返回循环访问节组集合的枚举器。

适用于