CommaDelimitedStringCollection.Remove(String) メソッド

定義

文字列要素をコレクションから削除します。

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")

注釈

このメソッドにより、 プロパティが IsModifiedtrue設定されます。

適用対象