ProfileGroupSettingsCollection.Set(ProfileGroupSettings) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 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)
参数
- group
- ProfileGroupSettings
例外
要 ProfileGroupSettings 添加的对象已存在于集合中,或者集合是只读的。
注解
调用此方法的效果与调用 Add 该方法的效果相同。