package body MSHTML.IHTMLAreasCollection4_Object is

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

   function item
     (This  : IHTMLAreasCollection4_Type;
      index : GNATCOM.Types.VARIANT;
      Free  : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IHTMLAreasCollection4_item,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => index),
         Free);
   end item;

   function namedItem
     (This : IHTMLAreasCollection4_Type;
      name : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IHTMLAreasCollection4_namedItem,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => name),
         Free);
   end namedItem;

end MSHTML.IHTMLAreasCollection4_Object;

