語言

ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) 方法

定義

回傳指定 ProfilePropertySettings 物件的索引。

public:
 int IndexOf(System::Web::Configuration::ProfilePropertySettings ^ propertySettings);
public int IndexOf(System.Web.Configuration.ProfilePropertySettings propertySettings);
member this.IndexOf : System.Web.Configuration.ProfilePropertySettings -> int
Public Function IndexOf (propertySettings As ProfilePropertySettings) As Integer

參數

propertySettings
ProfilePropertySettings

收藏中的一件 ProfilePropertySettings 物品。

傳回

指定物件的索引 ProfilePropertySettings ,或 -1,若該物件未在集合中。

適用於

另請參閱