TextPosition.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(TextPosition to VersionedTextDocumentPositionContract) |
Implicitly converts the TextPosition to VersionedTextDocumentPositionContract. |
Implicit(TextPosition to Int32) |
Implicitly converts the snapshot position to an integer equal to the position of the snapshot position in the snapshot. |
Implicit(TextPosition to VersionedTextDocumentPositionContract)
Implicitly converts the TextPosition to VersionedTextDocumentPositionContract.
public static implicit operator Microsoft.VisualStudio.RpcContracts.Utilities.VersionedTextDocumentPositionContract (Microsoft.VisualStudio.Extensibility.Editor.TextPosition position);
static member op_Implicit : Microsoft.VisualStudio.Extensibility.Editor.TextPosition -> Microsoft.VisualStudio.RpcContracts.Utilities.VersionedTextDocumentPositionContract
Public Shared Widening Operator CType (position As TextPosition) As VersionedTextDocumentPositionContract
Parameters
- position
- TextPosition
Returns
Applies to
Implicit(TextPosition to Int32)
Implicitly converts the snapshot position to an integer equal to the position of the snapshot position in the snapshot.
public static implicit operator int (Microsoft.VisualStudio.Extensibility.Editor.TextPosition position);
static member op_Implicit : Microsoft.VisualStudio.Extensibility.Editor.TextPosition -> int
Public Shared Widening Operator CType (position As TextPosition) As Integer
Parameters
- position
- TextPosition