package body MSHTML.IHTMLSelectElement_Object is

   procedure Put_size
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_size,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_size;

   function Get_size
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_size);
   end Get_size;

   procedure Put_multiple
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_multiple,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_multiple;

   function Get_multiple
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_multiple);
   end Get_multiple;

   procedure Put_name
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_name,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_name;

   function Get_name
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_name);
   end Get_name;

   function Get_options
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_options);
   end Get_options;

   procedure Put_onchange
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_onchange,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_onchange;

   function Get_onchange
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_onchange);
   end Get_onchange;

   procedure Put_selectedIndex
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_selectedIndex,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_selectedIndex;

   function Get_selectedIndex
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_selectedIndex);
   end Get_selectedIndex;

   function Get_type
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_type);
   end Get_type;

   procedure Put_value
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_value,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_value;

   function Get_value
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_value);
   end Get_value;

   procedure Put_disabled
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_disabled,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_disabled;

   function Get_disabled
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_disabled);
   end Get_disabled;

   function Get_form
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_form);
   end Get_form;

   procedure add
     (This    : IHTMLSelectElement_Type;
      element : GNATCOM.Types.VARIANT;
      before  : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free    : Boolean := True)
   is
   begin
      Invoke
        (This,
         IHTMLSelectElement_add,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => before,
          2 => element),
         Free);
   end add;

   procedure remove
     (This  : IHTMLSelectElement_Type;
      index : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True)
   is
   begin
      Invoke
        (This,
         IHTMLSelectElement_remove,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index),
         Free);
   end remove;

   procedure Put_length
     (This : IHTMLSelectElement_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         IHTMLSelectElement_Put_length,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_length;

   function Get_length
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Get_length);
   end Get_length;

   function Getu_newEnum
     (This : IHTMLSelectElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLSelectElement_Getu_newEnum);
   end Getu_newEnum;

   function item
     (This  : IHTMLSelectElement_Type;
      name  : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      index : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free  : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IHTMLSelectElement_item,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index,
          2 => name),
         Free);
   end item;

   function tags
     (This    : IHTMLSelectElement_Type;
      tagName : GNATCOM.Types.VARIANT;
      Free    : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IHTMLSelectElement_tags,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => tagName),
         Free);
   end tags;

end MSHTML.IHTMLSelectElement_Object;

