ITextSearchNavigator::StartPoint Property

 

Gets or sets the position at which the search is started.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

property Nullable<SnapshotPoint> StartPoint {
	Nullable<SnapshotPoint> get();
	void set(Nullable<SnapshotPoint> value);
}

Property Value

Type: System::Nullable<SnapshotPoint>

Returns the position at which the search is started.

If CurrentResult is not null, it will be used as the starting point for the next search or replace operation. If CurrentResult is null and this property is null, the beginning of the document will be used as the search’s starting point.

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

Return to top
Show: