다음을 통해 공유


CompletionSet.ApplicableTo Property

Gets or sets the text tracking span to which this completion applies.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Overridable Property ApplicableTo As ITrackingSpan
public virtual ITrackingSpan ApplicableTo { get; protected set; }
public:
virtual property ITrackingSpan^ ApplicableTo {
    ITrackingSpan^ get ();
    protected: void set (ITrackingSpan^ value);
}
abstract ApplicableTo : ITrackingSpan with get, set 
override ApplicableTo : ITrackingSpan with get, set
function get ApplicableTo () : ITrackingSpan 
protected function set ApplicableTo (value : ITrackingSpan)

Property Value

Type: Microsoft.VisualStudio.Text.ITrackingSpan
The ITrackingSpan.

Remarks

This is the span of text in the text buffer that will be replaced with the completion insertion text if the completion is committed.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Language.Intellisense Namespace