package body MSHTML.IHTMLGenericElement_Object is

   function Get_recordset
     (This : IHTMLGenericElement_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IHTMLGenericElement_Get_recordset);
   end Get_recordset;

   function namedRecordset
     (This       : IHTMLGenericElement_Type;
      dataMember : GNATCOM.Types.VARIANT;
      hierarchy  : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free       : Boolean := True)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Invoke
        (This,
         IHTMLGenericElement_namedRecordset,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => hierarchy,
          2 => dataMember),
         Free);
   end namedRecordset;

end MSHTML.IHTMLGenericElement_Object;

