package body MSHTML.DispHTMLCSSMediaList_Object is

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

   function Get_mediaText
     (This : DispHTMLCSSMediaList_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispHTMLCSSMediaList_Get_mediaText);
   end Get_mediaText;

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

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

   procedure appendMedium
     (This       : DispHTMLCSSMediaList_Type;
      bstrMedium : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispHTMLCSSMediaList_appendMedium,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrMedium),
         Free);
   end appendMedium;

   procedure deleteMedium
     (This       : DispHTMLCSSMediaList_Type;
      bstrMedium : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispHTMLCSSMediaList_deleteMedium,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => bstrMedium),
         Free);
   end deleteMedium;

end MSHTML.DispHTMLCSSMediaList_Object;

