Share via


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。

适用于

另请参阅