Edit

Share via


InfoPathEventHandlerAttribute.DataObject Property

Definition

Gets or sets the name of the data adapter that is the event source in an InfoPathEventHandlerAttribute attribute applied to an event handler for an OnAfterChange event.

public:
 property System::String ^ DataObject { System::String ^ get(); void set(System::String ^ value); };
public string DataObject { get; set; }
member this.DataObject : string with get, set
Public Property DataObject As String

Property Value

Remarks

Important: To prevent errors in the specification of the InfoPathEventHandler attribute for an event handler, you should only use InfoPath user interface commands to add the stub for event handler code. For more information, see How to: Add an Event Handler Using the InfoPath 2003 Object Model.

Applies to