次の方法で共有


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

注釈

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

適用対象