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)
Syntax
'Dichiarazione
Property StartPoint As Nullable(Of SnapshotPoint)
Nullable<SnapshotPoint> StartPoint { get; set; }
property Nullable<SnapshotPoint> StartPoint {
Nullable<SnapshotPoint> get ();
void set (Nullable<SnapshotPoint> value);
}
abstract StartPoint : Nullable<SnapshotPoint> with get, set
function get StartPoint () : Nullable<SnapshotPoint>
function set StartPoint (value : Nullable<SnapshotPoint>)
Property Value
Type: System.Nullable<SnapshotPoint>
Returns the position at which the search is started.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.