Udostępnij za pośrednictwem


CompletionTrigger.ViewSnapshotBeforeTrigger Property

Definition

ITextSnapshot on the view's text buffer before the completion action was taken. For Backspace, Deletion and Insertion, this is text snapshot before the edit has been made. You may use it to get higher fidelity data on text edits that led to this action. If there was no edit, or edit is unavailable, this is the ITextSnapshot at the time action happened. Take precaution when accessing this property: since this is a struct, it may be left uninitialized.

public:
 property Microsoft::VisualStudio::Text::ITextSnapshot ^ ViewSnapshotBeforeTrigger { Microsoft::VisualStudio::Text::ITextSnapshot ^ get(); };
public Microsoft.VisualStudio.Text.ITextSnapshot ViewSnapshotBeforeTrigger { [System.Runtime.CompilerServices.IsReadOnly] get; }
public Microsoft.VisualStudio.Text.ITextSnapshot ViewSnapshotBeforeTrigger { get; }
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.ViewSnapshotBeforeTrigger : Microsoft.VisualStudio.Text.ITextSnapshot
member this.ViewSnapshotBeforeTrigger : Microsoft.VisualStudio.Text.ITextSnapshot
Public ReadOnly Property ViewSnapshotBeforeTrigger As ITextSnapshot

Property Value

Attributes

Applies to