package body MSHTML.IHTMLSubmitData_Object is

   procedure appendNameValuePair
     (This  : IHTMLSubmitData_Type;
      name  : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      value : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True)
   is
   begin
      Invoke
        (This,
         IHTMLSubmitData_appendNameValuePair,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => value,
          2 => name),
         Free);
   end appendNameValuePair;

   procedure appendNameFilePair
     (This     : IHTMLSubmitData_Type;
      name     : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      filename : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free     : Boolean := True)
   is
   begin
      Invoke
        (This,
         IHTMLSubmitData_appendNameFilePair,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => filename,
          2 => name),
         Free);
   end appendNameFilePair;

   procedure appendItemSeparator
     (This : IHTMLSubmitData_Type)
   is
   begin
      Invoke (This, IHTMLSubmitData_appendItemSeparator);
   end appendItemSeparator;

end MSHTML.IHTMLSubmitData_Object;

