Freigeben über


PropertyDescriptorCollection.Insert-Methode

Fügt der Auflistung die PropertyDescriptor-Klasse an der angegebenen Indexnummer hinzu.

Namespace: System.ComponentModel
Assembly: System (in system.dll)

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    value As PropertyDescriptor _
)
'Usage
Dim instance As PropertyDescriptorCollection
Dim index As Integer
Dim value As PropertyDescriptor

instance.Insert(index, value)
public void Insert (
    int index,
    PropertyDescriptor value
)
public:
void Insert (
    int index, 
    PropertyDescriptor^ value
)
public void Insert (
    int index, 
    PropertyDescriptor value
)
public function Insert (
    index : int, 
    value : PropertyDescriptor
)

Parameter

  • index
    Der Index, an dem der value-Parameter der Auflistung hinzugefügt wird.

Ausnahmen

Ausnahmetyp Bedingung

NotSupportedException

Die Auflistung ist schreibgeschützt.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

PropertyDescriptorCollection-Klasse
PropertyDescriptorCollection-Member
System.ComponentModel-Namespace