Bagikan melalui


AutomationPeer.RaiseTextEditTextChangedEvent Metode

Definisi

Menaikkan peristiwa untuk memberi tahu inti Microsoft UI Automation bahwa kontrol teks telah mengubah teks secara terprogram.

public:
 virtual void RaiseTextEditTextChangedEvent(AutomationTextEditChangeType automationTextEditChangeType, IVectorView<Platform::String ^> ^ changedData) = RaiseTextEditTextChangedEvent;
void RaiseTextEditTextChangedEvent(AutomationTextEditChangeType const& automationTextEditChangeType, IVectorView<winrt::hstring> const& changedData);
public void RaiseTextEditTextChangedEvent(AutomationTextEditChangeType automationTextEditChangeType, IReadOnlyList<string> changedData);
function raiseTextEditTextChangedEvent(automationTextEditChangeType, changedData)
Public Sub RaiseTextEditTextChangedEvent (automationTextEditChangeType As AutomationTextEditChangeType, changedData As IReadOnlyList(Of String))

Parameter

automationTextEditChangeType
AutomationTextEditChangeType

Jenis perubahan yang dibuat pada teks.

changedData

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

Teks baru.

Berlaku untuk