CHttpClient::DeleteField Method  
 
INT DeleteField(
  LPCTSTR lpszFieldName  
);

The DeleteField method deletes the specified field from the current form.

Parameters

lpszFieldName
Points to a string that specifies the name of the field to delete.

Return Value

If the function succeeds, the return value is zero. If the function fails, the return value is HTTP_ERROR. To get extended error information, call GetLastError.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cshtpv12.lib
Unicode: Implemented as Unicode and ANSI versions

See Also