Share via


ProfilePropertySettingsCollection.Item[] 属性

定义

获取或设置指定的 ProfilePropertySettings 对象。

重载

Item[Int32]

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

Item[String]

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

Item[Int32]

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

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

参数

index
Int32

集合中 ProfilePropertySettings 对象的索引。

属性值

位于指定索引处的 ProfilePropertySettings 对象。

另请参阅

适用于

Item[String]

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

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

参数

name
String

集合中 ProfilePropertySettings 对象的名称。

属性值

具有指定名称的 ProfilePropertySettings 对象。

另请参阅

适用于