Rediger

Del via


DrawingCollection.Remove(Drawing) Method

Definition

Removes the first occurrence of the specified Drawing from the DrawingCollection.

public:
 virtual bool Remove(System::Windows::Media::Drawing ^ value);
public bool Remove (System.Windows.Media.Drawing value);
abstract member Remove : System.Windows.Media.Drawing -> bool
override this.Remove : System.Windows.Media.Drawing -> bool
Public Function Remove (value As Drawing) As Boolean

Parameters

value
Drawing

The item to remove from this collection.

Returns

true if the operation was successful; otherwise, false.

Implements

Exceptions

The DrawingCollection is read-only.

-or-

The DrawingCollection has a fixed size.

Applies to

See also