Gets a range that identifies the changed lines in the source.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public ReadOnly Property DirtySpan As TextSpan
'使用
Dim instance As Source
Dim value As TextSpan
value = instance.DirtySpan
public TextSpan DirtySpan { get; }
public:
property TextSpan DirtySpan {
TextSpan get ();
}
public function get DirtySpan () : TextSpan
Property Value
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
A TextSpan object containing the range of lines that have been changed in the source file.
Remarks
The TextSpan object spans all of the changed or dirty lines in the source.
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.