ProfileGroupSettingsCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置对象 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没有具有该名称的对象。