Share via


ProfileGroupSettingsCollection.Item[] 属性

定义

获取或设置 ProfileGroupSettings 对象。

重载

Item[Int32]

获取或设置位于指定索引位置的 ProfileGroupSettings 对象。

Item[String]

获取或设置具有指定名称的 ProfileGroupSettings 对象。

Item[Int32]

获取或设置位于指定索引位置的 ProfileGroupSettings 对象。

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

参数

index
Int32

集合中 ProfileGroupSettings 对象的索引。

属性值

指定索引处的 ProfileGroupSettings 对象;如果该索引处没有对象,则为 null

另请参阅

适用于

Item[String]

获取或设置具有指定名称的 ProfileGroupSettings 对象。

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

参数

name
String

集合中 ProfileGroupSettings 对象的名称。

属性值

具有指定名称的 ProfileGroupSettings 对象,如果不存在具有该名称的对象,则为 null

另请参阅

适用于