ClientTargetCollection.RemoveAt(Int32) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen koleksiyon dizinine ClientTarget sahip nesneyi kaldırır.
public:
void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
Parametreler
- index
- Int32
Kaldırılacak öğesinin ClientTarget koleksiyon dizini.
Örnekler
Aşağıdaki kod örneği, nesnesini koleksiyondan ClientTargetCollection kaldırırClientTarget.
Koleksiyonu alma hakkında daha fazla bilgi için sınıfa genel bakış bölümünde yer alan kod örneğine ClientTargetCollection bakın.
// Remove the client target at the
// specified index from the collection.
clientTargets.RemoveAt(0);
// Update the configuration file.
if (!clientTargetSection.IsReadOnly())
configuration.Save();
' Remove the client target at the
' specified index from the collection.
clientTargets.RemoveAt(0)
' Update the configuration file.
If Not clientTargetSection.IsReadOnly() Then
configuration.Save()
End If
Açıklamalar
RemoveAt yöntemi, geçerli hiyerarşi düzeyinde bölümündeki öğesini clientTarget
siler add
ve bir remove
öğe ekler. remove
öğesi, hiyerarşide üst yapılandırma dosyalarında tanımlanan öğeye add
başvuruyu etkin bir şekilde kaldırır ancak silmez.