EditSpan.Text Property

Determines the replacement text.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Public Property Text As String
'使用
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);
}
public function get Text () : String
public 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.

Permissions

See Also

Reference

EditSpan Class

EditSpan Members

Microsoft.VisualStudio.Package Namespace