Freigeben über


NormalizedSnapshotSpanCollection.IList.Add-Methode

Fügt der Liste ein Objekt hinzu. Diese Methode löst eine NotSupportedException aus.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Private Function Add ( _
    value As Object _
) As Integer Implements IList.Add
int IList.Add(
    Object value
)
private:
virtual int Add(
    Object^ value
) sealed = IList::Add
private abstract Add : 
        value:Object -> int  
private override Add : 
        value:Object -> int
JScript unterstützt keine expliziten Schnittstellenimplementierungen

Parameter

  • value
    Typ: Object

    Das hinzuzufügende Objekt.

Rückgabewert

Typ: Int32
Die Position, an der das Objekt hinzugefügt wurde..Diese Methode löst eine NotSupportedException aus.

Implementiert

IList.Add(Object)

.NET Framework-Sicherheit

Siehe auch

Referenz

NormalizedSnapshotSpanCollection Klasse

Microsoft.VisualStudio.Text-Namespace