ConfigurationElementCollection.IsElementRemovable Metode

Definisi

Menunjukkan apakah yang ditentukan ConfigurationElement dapat dihapus dari ConfigurationElementCollection.

protected:
 virtual bool IsElementRemovable(System::Configuration::ConfigurationElement ^ element);
protected virtual bool IsElementRemovable (System.Configuration.ConfigurationElement element);
abstract member IsElementRemovable : System.Configuration.ConfigurationElement -> bool
override this.IsElementRemovable : System.Configuration.ConfigurationElement -> bool
Protected Overridable Function IsElementRemovable (element As ConfigurationElement) As Boolean

Parameter

element
ConfigurationElement

Elemen untuk diperiksa.

Mengembalikan

true jika yang ditentukan ConfigurationElement dapat dihapus dari ini ConfigurationElementCollection; jika tidak, false. Default adalah true.

Keterangan

Kueri IsElementRemovable sebelum menghapus elemen koleksi.

Berlaku untuk