Freigeben über


ITextSearchNavigator3.StartPoint Property

Definition

Indicates the position in CurrentSnapshot at which the search should be started.

public:
 property Nullable<Microsoft::VisualStudio::Text::SnapshotPoint> StartPoint { Nullable<Microsoft::VisualStudio::Text::SnapshotPoint> get(); void set(Nullable<Microsoft::VisualStudio::Text::SnapshotPoint> value); };
public Microsoft.VisualStudio.Text.SnapshotPoint? StartPoint { get; set; }
member this.StartPoint : Nullable<Microsoft.VisualStudio.Text.SnapshotPoint> with get, set
Public Property StartPoint As Nullable(Of SnapshotPoint)

Property Value

Remarks

If CurrentResult is not null then CurrentResult will be used as the starting point for the next search or replace operation.

If CurrentResult is null and this value is also null, then the beginning of the document will be used as the search's starting point.

StartPoint can be set to a snapshot point belonging to any ITextSnapshot belonging to this ITextBuffer. However, value returned by this property is always translated to current snapshot.

Applies to