ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定 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,若該物件未在集合中。