Nasıl yapılır: Windows Forms DomainUpDown Denetimlerinden Öğeleri Kaldırma
sınıfının veya yöntemini çağırarak Windows Forms DomainUpDownRemoveRemoveAt denetiminden öğeleri DomainUpDown.DomainUpDownItemCollection kaldırabilirsiniz. yöntemi Remove belirli bir öğeyi kaldırırken yöntemi bir öğeyi RemoveAt konumundan kaldırır.
Bir öğeyi kaldırmak için
Bir Remove öğeyi adına göre DomainUpDown.DomainUpDownItemCollection kaldırmak için sınıfının yöntemini kullanın.
DomainUpDown1.Items.Remove("noodles")domainUpDown1.Items.Remove("noodles");domainUpDown1->Items->Remove("noodles");-veya-
Bir RemoveAt öğeyi konumundan kaldırmak için yöntemini kullanın.
' Removes the first item in the list. DomainUpDown1.Items.RemoveAt(0)// Removes the first item in the list. domainUpDown1.Items.RemoveAt(0);// Removes the first item in the list. domainUpDown1->Items->RemoveAt(0);