TextSpanAndCookie.CodeSpan Field

A TextSpan object representing the span of embedded source code.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣言
Public CodeSpan As TextSpan
'使用
Dim instance As TextSpanAndCookie
Dim value As TextSpan

value = instance.CodeSpan

instance.CodeSpan = value
public TextSpan CodeSpan
public:
TextSpan CodeSpan
public var CodeSpan : TextSpan

Field Value

Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan

Remarks

A text span contains a starting position and an ending position, where each position is expressed as a line, column pair.

Permissions

See Also

Reference

TextSpanAndCookie Structure

TextSpanAndCookie Members

Microsoft.VisualStudio.TextManager.Interop Namespace