Sdílet prostřednictvím


FormControl.OnDataChange-Methode

Wird zum Binden eines Ereignishandlers verwendet, der beim Ändern von Daten in einem gehosteten Formular ausgeführt wird.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath.FormControl (in microsoft.office.infopath.formcontrol.dll)

Syntax

'Declaration
Public Sub OnDataChange ( _
    <InAttribute> ByRef format As FORMATETC, _
    <InAttribute> ByRef stgmedium As STGMEDIUM _
)
'Usage
Dim instance As FormControl
Dim format As FORMATETC
Dim stgmedium As STGMEDIUM

instance.OnDataChange(format, stgmedium)
public void OnDataChange (
    [InAttribute] ref FORMATETC format,
    [InAttribute] ref STGMEDIUM stgmedium
)

Parameter

  • format
    Ein Verweis auf eine System.Runtime.InteropServices.ComTypes.FORMATETC-Struktur, die das Format der geänderten Daten beschreibt.
  • stgmedium
    Ein Verweis auf eine System.Runtime.InteropServices.ComTypes.STGMEDIUM-Struktur, die das Speichermedium der geänderten Daten beschreibt.

Hinweise

Weitere Informationen zum FormControl-Objekt finden Sie unter Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application und im Abschnitt "Der als Steuerelement gehostete InfoPath-Editor" von Neuigkeiten für InfoPath-Entwickler.

Siehe auch

Referenz

FormControl-Klasse
FormControl-Member
Microsoft.Office.InfoPath-Namespace