InfoPathEventHandlerAttribute.DataObject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.