Partager via


NormalizedSnapshotSpanCollection.IndexOf, méthode (Object)

Obtient l'index de l'étendue d'instantanés spécifiée.

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

Syntaxe

'Déclaration
Public Function IndexOf ( _
    value As Object _
) As Integer
public int IndexOf(
    Object value
)
public:
virtual int IndexOf(
    Object^ value
) sealed
abstract IndexOf : 
        value:Object -> int  
override IndexOf : 
        value:Object -> int
public final function IndexOf(
    value : Object
) : int

Paramètres

  • value
    Type : Object

    Étendue d'instantanés.

Valeur de retour

Type : Int32
Emplacement de l'étendue d'instantanés.

Implémentations

IList.IndexOf(Object)

Sécurité .NET Framework

Voir aussi

Référence

NormalizedSnapshotSpanCollection Classe

IndexOf, surcharge

Microsoft.VisualStudio.Text, espace de noms