CodeStatementCollection.Remove(CodeStatement) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen CodeStatement nesneyi koleksiyondan kaldırır.
public:
void Remove(System::CodeDom::CodeStatement ^ value);
public void Remove (System.CodeDom.CodeStatement value);
member this.Remove : System.CodeDom.CodeStatement -> unit
Public Sub Remove (value As CodeStatement)
Parametreler
- value
- CodeStatement
CodeStatement koleksiyondan kaldırılacak.
Özel durumlar
Belirtilen nesne koleksiyonda bulunamadı.
Örnekler
Aşağıdaki örnekte, bir nesnesinden CodeStatementCollectionsilmek CodeStatement için yönteminin nasıl kullanılacağı Remove gösterilmektedir.
// Removes the specified CodeStatement from the collection.
collection->Remove( testStatement );
// Removes the specified CodeStatement from the collection.
collection.Remove( testStatement );
' Removes the specified CodeStatement from the collection.
collection.Remove(testStatement)