Udostępnij za pośrednictwem


ParseRequest.DirtySpan Property

Specifies a span of source that has changed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Property DirtySpan As TextSpan
public TextSpan DirtySpan { get; set; }
public:
property TextSpan DirtySpan {
    TextSpan get ();
    void set (TextSpan value);
}
member DirtySpan : TextSpan with get, set
function get DirtySpan () : TextSpan
function set DirtySpan (value : TextSpan)

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
Returns a TextSpan object specifying a span of source.

Remarks

This is typically set to limit the extent of the parsing operation as an optimization. It can be ignored by a parser.

.NET Framework Security

See Also

Reference

ParseRequest Class

Microsoft.VisualStudio.Package Namespace