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 不支援宣告新的轉型運算子。
參數
snapshotPoint
類型:Microsoft.VisualStudio.Text.SnapshotPoint快照點。
傳回值
類型:Int32
和快照中快照點位置相等的整數。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。