CommaDelimitedStringCollection.Remove(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從集合中移除一個字串元素。
public:
void Remove(System::String ^ value);
public void Remove(string value);
override this.Remove : string -> unit
Public Sub Remove (value As String)
參數
- value
- String
要拔掉的線。
範例
以下程式碼範例示範如何使用此 Remove 方法。 這個程式碼範例是為類別概述提供 CommaDelimitedStringCollection 的完整範例的一部分。
// Remove an element of the collection.
myStrCollection.Remove("userNameX");
' Remove an element of the collection.
myStrCollection.Remove("userNameX")
備註
此方法使屬性 IsModified 被設定為 true。