Specifies the span of text.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Public span As TextSpan
'使用
Dim instance As VsTextPos
Dim value As TextSpan
value = instance.span
instance.span = value
public TextSpan span
public:
TextSpan span
public var span : TextSpan
Field Value
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
Remarks
COM Signature
From vsshell.idl:
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.