NormalizedSnapshotSpanCollection.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IndexOf(SnapshotSpan) |
Gets the index of the specified SnapshotSpan. |
IndexOf(Object) |
Gets the index of the specified snapshot span. |
IndexOf(SnapshotSpan)
Gets the index of the specified SnapshotSpan.
public:
virtual int IndexOf(Microsoft::VisualStudio::Text::SnapshotSpan item);
int IndexOf(Microsoft::VisualStudio::Text::SnapshotSpan item);
public int IndexOf (Microsoft.VisualStudio.Text.SnapshotSpan item);
abstract member IndexOf : Microsoft.VisualStudio.Text.SnapshotSpan -> int
override this.IndexOf : Microsoft.VisualStudio.Text.SnapshotSpan -> int
Public Function IndexOf (item As SnapshotSpan) As Integer
Parameters
- item
- SnapshotSpan
The SnapshotSpan.
Returns
The index of the snapshot span.
Implements
Applies to
IndexOf(Object)
Gets the index of the specified snapshot span.
public:
virtual int IndexOf(System::Object ^ value);
public:
int IndexOf(Platform::Object ^ value);
int IndexOf(winrt::Windows::Foundation::IInspectable const & value);
public int IndexOf (object value);
abstract member IndexOf : obj -> int
override this.IndexOf : obj -> int
Public Function IndexOf (value As Object) As Integer
Parameters
- value
- Object
The snapshot span.
Returns
The location of the snapshot span.