ProfileGroupSettingsCollection.Get 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 ProfileGroupSettings 对象。
重载
| 名称 | 说明 |
|---|---|
| Get(Int32) |
返回 ProfileGroupSettings 指定索引处的对象。 |
| Get(String) |
返回 ProfileGroupSettings 具有指定名称的对象。 |
Get(Int32)
返回 ProfileGroupSettings 指定索引处的对象。
public:
System::Web::Configuration::ProfileGroupSettings ^ Get(int index);
public System.Web.Configuration.ProfileGroupSettings Get(int index);
member this.Get : int -> System.Web.Configuration.ProfileGroupSettings
Public Function Get (index As Integer) As ProfileGroupSettings
参数
- index
- Int32
要获取的对象索引 ProfileGroupSettings 。
返回
ProfileGroupSettings指定索引处的对象,或者null该索引处没有对象。
另请参阅
适用于
Get(String)
返回 ProfileGroupSettings 具有指定名称的对象。
public:
System::Web::Configuration::ProfileGroupSettings ^ Get(System::String ^ name);
public System.Web.Configuration.ProfileGroupSettings Get(string name);
member this.Get : string -> System.Web.Configuration.ProfileGroupSettings
Public Function Get (name As String) As ProfileGroupSettings
参数
- name
- String
要获取的对象的名称 ProfileGroupSettings 。
返回
ProfileGroupSettings具有指定名称的对象,或者null名称不存在。