SettingsPropertyValueCollection.Add(SettingsPropertyValue) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增一個 SettingsPropertyValue 物件到集合中。
public:
void Add(System::Configuration::SettingsPropertyValue ^ property);
public void Add(System.Configuration.SettingsPropertyValue property);
member this.Add : System.Configuration.SettingsPropertyValue -> unit
Public Sub Add (property As SettingsPropertyValue)
參數
- property
- SettingsPropertyValue
例外狀況
曾嘗試將項目加入收藏,但該收藏被標記為唯讀。