命名空间: Microsoft.VisualStudio.Text.Operations
程序集: Microsoft.VisualStudio.Text.Logic(在 Microsoft.VisualStudio.Text.Logic.dll 中)
语法
声明
Function Find ( _
startingPosition As SnapshotPoint, _
searchPattern As String, _
options As FindOptions _
) As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> Find(
SnapshotPoint startingPosition,
string searchPattern,
FindOptions options
)
Nullable<SnapshotSpan> Find(
SnapshotPoint startingPosition,
String^ searchPattern,
FindOptions options
)
abstract Find :
startingPosition:SnapshotPoint *
searchPattern:string *
options:FindOptions -> Nullable<SnapshotSpan>
function Find(
startingPosition : SnapshotPoint,
searchPattern : String,
options : FindOptions
) : Nullable<SnapshotSpan>
参数
- startingPosition
类型:Microsoft.VisualStudio.Text.SnapshotPoint
- searchPattern
类型:String
返回值
类型:Nullable<SnapshotSpan>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。