Partager via


NormalizedSnapshotSpanCollection.IList.Add, méthode

Ajoute un objet à la liste. Cette méthode lève une NotSupportedException.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les implémentations d'interfaces explicites.

Paramètres

  • value
    Type : Object

    Objet à ajouter.

Valeur de retour

Type : Int32
Emplacement auquel l'objet a été ajouté..Cette méthode lève une NotSupportedException.

Implémentations

IList.Add(Object)

Sécurité .NET Framework

Voir aussi

Référence

NormalizedSnapshotSpanCollection Classe

Microsoft.VisualStudio.Text, espace de noms