EditSpan.Text Property
Determines the replacement text.
Namespace: Microsoft.VisualStudio.Package
Assemblies: 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)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Déclaration
Public Property Text As String
Get
Set
'Utilisation
Dim instance As EditSpan
Dim value As String
value = instance.Text
instance.Text = value
public string Text { get; set; }
public:
property String^ Text {
String^ get ();
void set (String^ value);
}
member Text : string with get, set
function get Text () : String
function set Text (value : String)
Property Value
Type: System.String
Returns a string containing the text to replace with.
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.