Partager via


GetSubmitInfo method

Enables the element behaviors that reside in forms to add to the information submitted to the server.

Syntax

HRESULT retVal = object.GetSubmitInfo(pSubmitData);

Parameters

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

By calling the methods of the IHTMLSubmitData interface, your implementation of GetSubmitInfo can add its data to the data that is submitted to the server when the user clicks the submit button.