DrawingCollection.Remove(Drawing) Метод
Определение
Удаляет первое вхождение указанного объекта Drawing из объекта DrawingCollection.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
Параметры
- value
- Drawing
Элемент, который нужно удалить из данной коллекции.The item to remove from this collection.
Возвращаемое значение
Значение true
, если операция успешно завершена; в противном случае — значение false
.true
if the operation was successful; otherwise, false
.
Реализации
Исключения
Объект DrawingCollection доступен только для чтения.The DrawingCollection is read-only.
-или--or- DrawingCollection имеет фиксированный размер.The DrawingCollection has a fixed size.