TextContentChangingEventArgs Oluşturucu

Tanım

Değişen bir olay sırasında geçirilecek yeni bir örneğini başlatır TextContentChangingEventArgs .

public:
 TextContentChangingEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, System::Object ^ editTag, Action<Microsoft::VisualStudio::Text::TextContentChangingEventArgs ^> ^ cancelAction);
public TextContentChangingEventArgs (Microsoft.VisualStudio.Text.ITextSnapshot beforeSnapshot, object editTag, Action<Microsoft.VisualStudio.Text.TextContentChangingEventArgs> cancelAction);
new Microsoft.VisualStudio.Text.TextContentChangingEventArgs : Microsoft.VisualStudio.Text.ITextSnapshot * obj * Action<Microsoft.VisualStudio.Text.TextContentChangingEventArgs> -> Microsoft.VisualStudio.Text.TextContentChangingEventArgs
Public Sub New (beforeSnapshot As ITextSnapshot, editTag As Object, cancelAction As Action(Of TextContentChangingEventArgs))

Parametreler

beforeSnapshot
ITextSnapshot

ITextSnapshotDeğişiklikten önceki en son.

editTag
Object

Bu değişiklik ile ilişkili rastgele bir nesne.

cancelAction
Action<TextContentChangingEventArgs>

Çağrıldığında yürütülecek eylem Cancel() . En fazla bir kez çağrılır.

Özel durumlar

beforeSnapshot null.

Şunlara uygulanır