ProfileGroupSettingsCollection.Set(ProfileGroupSettings) 方法

定义

将指定的 ProfileGroupSettings 对象添加到集合中。

public:
 void Set(System::Web::Configuration::ProfileGroupSettings ^ group);
public void Set(System.Web.Configuration.ProfileGroupSettings group);
member this.Set : System.Web.Configuration.ProfileGroupSettings -> unit
Public Sub Set (group As ProfileGroupSettings)

参数

例外

ProfileGroupSettings 添加的对象已存在于集合中,或者集合是只读的。

注解

调用此方法的效果与调用 Add 该方法的效果相同。

适用于

另请参阅