CodeStatementCollection.Remove(CodeStatement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified CodeStatement object from the collection.
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)
Parameters
- value
- CodeStatement
The CodeStatement to remove from the collection.
Exceptions
The specified object is not found in the collection.
Examples
The following example demonstrates how to use the Remove method to delete a CodeStatement object from a CodeStatementCollection.
// 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)
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.