EditSpan.Span Property
Determines the span to be replaced.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Property Span As TextSpan
public TextSpan Span { get; set; }
Property Value
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
Returns a TextSpan object describing the span to be replaced.
Remarks
An insertion or deletion operation can be described in terms of a replacement operation. A deletion replaces a non-empty span with an empty string while an insertion replaces an empty span with text.
.NET Framework Security
- 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.