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 方法相同。

適用於

另請參閱