SnapshotPoint Implicit 转换 (SnapshotPoint to Int32)

将快照点隐式转换为一个整数,该整数与快照点在快照中的位置相等。

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

语法

声明
Public Shared Widening Operator CType ( _
    snapshotPoint As SnapshotPoint _
) As Integer
public static implicit operator int (
    SnapshotPoint snapshotPoint
)
static implicit operator int (
    SnapshotPoint snapshotPoint
)
F# 不支持新转换运算符的声明。
JScript 不支持新转换运算符的声明。

参数

返回值

类型:Int32
与快照点在快照中的位置相等的整数。

.NET Framework 安全性

请参阅

参考

SnapshotPoint 结构

Microsoft.VisualStudio.Text 命名空间