IIntellisenseSession.GetTriggerPoint 方法 (ITextSnapshot)

获取在指定的 ITextSnapshot 中触发此 IntelliSense 会话时所在的 SnapshotPoint

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
Function GetTriggerPoint ( _
    textSnapshot As ITextSnapshot _
) As Nullable(Of SnapshotPoint)
Nullable<SnapshotPoint> GetTriggerPoint(
    ITextSnapshot textSnapshot
)
Nullable<SnapshotPoint> GetTriggerPoint(
    ITextSnapshot^ textSnapshot
)
abstract GetTriggerPoint : 
        textSnapshot:ITextSnapshot -> Nullable<SnapshotPoint> 
function GetTriggerPoint(
    textSnapshot : ITextSnapshot
) : Nullable<SnapshotPoint>

参数

返回值

类型:Nullable<SnapshotPoint>
可以为 Null 的 SnapshotPoint

备注

调用方应防止通过该仅 ITextSnapshot 的对象文本视图的 IBufferGraph

.NET Framework 安全性

请参阅

参考

IIntellisenseSession 接口

GetTriggerPoint 重载

Microsoft.VisualStudio.Language.Intellisense 命名空间