NormalizedSnapshotSpanCollection.IndexOf 메서드 (SnapshotSpan)

지정된 SnapshotSpan의 인덱스를 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.Text
어셈블리:  Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)

구문

‘선언
Public Function IndexOf ( _
    item As SnapshotSpan _
) As Integer
public int IndexOf(
    SnapshotSpan item
)
public:
virtual int IndexOf(
    SnapshotSpan item
) sealed
abstract IndexOf : 
        item:SnapshotSpan -> int  
override IndexOf : 
        item:SnapshotSpan -> int
public final function IndexOf(
    item : SnapshotSpan
) : int

매개 변수

반환 값

형식: Int32
스냅숏 범위의 인덱스입니다.

구현

IList.IndexOf(UTP)

.NET Framework 보안

참고 항목

참조

NormalizedSnapshotSpanCollection 클래스

IndexOf 오버로드

Microsoft.VisualStudio.Text 네임스페이스