2003-02-12 01:58:24 +00:00
<Type Name= "ListBase" FullName= "GLib.ListBase" >
2007-01-15 21:19:09 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public abstract class ListBase : GLib.IWrapper, ICloneable, IDisposable, System.Collections.ICollection" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi abstract beforefieldinit ListBase extends System.Object implements class GLib.IWrapper, class System.Collections.ICollection, class System.Collections.IEnumerable, class System.ICloneable, class System.IDisposable" />
2003-02-12 01:58:24 +00:00
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:58:24 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:58:24 +00:00
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces >
<Interface >
2005-05-23 20:41:51 +00:00
<InterfaceName > GLib.IWrapper</InterfaceName>
2003-02-12 01:58:24 +00:00
</Interface>
<Interface >
<InterfaceName > System.Collections.ICollection</InterfaceName>
</Interface>
<Interface >
2005-05-23 20:41:51 +00:00
<InterfaceName > System.ICloneable</InterfaceName>
2003-02-12 01:58:24 +00:00
</Interface>
<Interface >
2005-05-23 20:41:51 +00:00
<InterfaceName > System.IDisposable</InterfaceName>
2003-02-12 01:58:24 +00:00
</Interface>
</Interfaces>
2009-01-06 16:29:49 +00:00
<Docs >
<summary > Base class for GList and GSList.</summary>
<remarks >
</remarks>
</Docs>
2003-02-12 01:58:24 +00:00
<Members >
2009-01-06 16:29:49 +00:00
<Member MemberName= "Append" >
<MemberSignature Language= "C#" Value= "public void Append (IntPtr raw);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Append(native int raw) cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
2003-02-12 01:58:24 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
<summary > Appends an element to the end of the list.</summary>
2004-07-02 16:54:40 +00:00
<remarks >
2009-01-06 16:29:49 +00:00
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Append" >
<MemberSignature Language= "C#" Value= "public void Append (object item);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Append(object item) cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters >
<Parameter Name= "item" Type= "System.Object" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<param name= "item" > An item to be appended to the list.</param>
<summary > Appends an item to the List.</summary>
<remarks />
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Append" >
<MemberSignature Language= "C#" Value= "public void Append (string item);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Append(string item) cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters >
<Parameter Name= "item" Type= "System.String" />
</Parameters>
<Docs >
<param name= "item" > an object of type <see cref= "T:System.String" /> </param>
<summary > Appends an element to the end of the list.</summary>
<remarks > This is a convenience overload to append a <see cref= "T:System.String" /> to the end of a list.</remarks>
</Docs>
</Member>
<Member MemberName= "Clone" >
<MemberSignature Language= "C#" Value= "public abstract object Clone ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance object Clone() cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Object</ReturnType>
</ReturnValue>
2003-02-12 01:58:24 +00:00
<Parameters />
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Clones the list.</summary>
<returns > a copy of the list as an <see cref= "T:System.Object" /> .</returns>
<remarks > Produces a copy of the list.</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "CopyTo" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void CopyTo (Array array, int index);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance void CopyTo(class System.Array array, int32 index) cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "array" Type= "System.Array" />
<Parameter Name= "index" Type= "System.Int32" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2004-07-02 17:30:09 +00:00
<param name= "array" > an <see cref= "T:System.Array" /> to copy to.</param>
<param name= "index" > the index to start copying at in <paramref name= "array" /> .</param>
2009-01-06 16:29:49 +00:00
<summary > Copies the list to a typed array.</summary>
2004-07-02 17:30:09 +00:00
<remarks >
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Count" >
<MemberSignature Language= "C#" Value= "public int Count { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance int32 Count" />
2009-01-06 16:29:49 +00:00
<MemberType > Property</MemberType>
2003-02-12 01:58:24 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Int32</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
<Docs >
2009-01-06 16:29:49 +00:00
<summary > The number of elements in the list.</summary>
<value > the number of elements in the list as an <see cref= "T:System.Int32" /> </value>
<remarks />
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Dispose" >
<MemberSignature Language= "C#" Value= "public void Dispose ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance void Dispose() cil managed" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters />
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Disposes the list.</summary>
<remarks > If <see cref= "M:GLib.ListBase.Managed" /> is set, this frees the native list.</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Dispose" >
<MemberSignature Language= "C#" Value= "protected virtual void Dispose (bool disposing);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig newslot virtual instance void Dispose(bool disposing) cil managed" />
2003-08-19 21:16:32 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2009-01-06 16:29:49 +00:00
<Parameter Name= "disposing" Type= "System.Boolean" />
2003-08-30 02:35:39 +00:00
</Parameters>
2003-08-19 21:16:32 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<param name= "disposing" > a <see cref= "T:System.Boolean" /> </param>
<summary > Disposes the list.</summary>
<remarks > If the <see cref= "M:GLib.ListBase.Managed" /> property is set, the underlying native list is freed.</remarks>
2003-08-19 21:16:32 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "element_type" >
<MemberSignature Language= "C#" Value= "protected Type element_type;" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".field family class System.Type element_type" />
2009-01-06 16:29:49 +00:00
<MemberType > Field</MemberType>
2003-02-12 01:58:24 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Type</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters />
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<summary > The <see cref= "T:System.Type" /> of the elements of the list.</summary>
<remarks >
<see cref= "T:GLib.Object" /> subclasses are handled automatically, so it is not necessary to set this field for lists of <see cref= "T:GLib.Object" /> .</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Empty" >
<MemberSignature Language= "C#" Value= "public void Empty ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Empty() cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
2003-02-12 01:58:24 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters />
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Empties the list.</summary>
<remarks > Empties, and frees the list, as well as all of its children</remarks>
<since version= "Gtk# 2.4" />
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Finalize" >
<MemberSignature Language= "C#" Value= "~ListBase ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method familyhidebysig virtual instance void Finalize() cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
2003-02-12 01:58:24 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Void</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters />
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Finalizer.</summary>
2004-07-02 16:54:40 +00:00
<remarks />
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "GetEnumerator" >
<MemberSignature Language= "C#" Value= "public System.Collections.IEnumerator GetEnumerator ();" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig newslot virtual instance class System.Collections.IEnumerator GetEnumerator() cil managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Method</MemberType>
2003-02-12 01:58:24 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Collections.IEnumerator</ReturnType>
2003-02-12 01:58:24 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters />
2003-02-12 01:58:24 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Gets an <see cref= "T:System.Collections.IEnumerator" /> to enumerate the list elements.</summary>
<returns > a <see cref= "T:System.Collections.IEnumerator" /> </returns>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Handle" >
<MemberSignature Language= "C#" Value= "public IntPtr Handle { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance native int Handle" />
2003-02-12 01:58:24 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.IntPtr</ReturnType>
2003-03-07 01:30:00 +00:00
</ReturnValue>
<Docs >
2009-01-06 16:29:49 +00:00
<summary > A raw list reference for marshaling situations.</summary>
<value > an object of type <see cref= "T:System.IntPtr" /> </value>
2004-07-02 17:30:09 +00:00
<remarks >
</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "IsSynchronized" >
<MemberSignature Language= "C#" Value= "public bool IsSynchronized { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance bool IsSynchronized" />
2009-01-06 16:29:49 +00:00
<MemberType > Property</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Indicates if the list is synchronized.</summary>
<value > always <see langword= "false" /> </value>
<remarks > Always returns false. </remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "Item" >
2009-01-06 16:29:49 +00:00
<MemberSignature Language= "C#" Value= "public object this[int index] { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance object Item(int32)" />
2003-10-28 00:48:23 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Object</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "index" Type= "System.Int32" />
</Parameters>
<Docs >
2004-07-02 16:54:40 +00:00
<param name= "index" > a <see cref= "T:System.Int32" /> representing the 0 indexed offset to the member.</param>
2009-01-06 16:29:49 +00:00
<summary > Indexer for list members.</summary>
2005-05-23 20:41:51 +00:00
<value > the list member at <paramref name= "index" /> as an <see cref= "T:System.Object" /> .</value>
2004-07-02 16:54:40 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Managed" >
<MemberSignature Language= "C#" Value= "public bool Managed { set; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance bool Managed" />
2009-01-06 16:29:49 +00:00
<MemberType > Property</MemberType>
2011-11-09 16:01:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete("Replaced by owned parameter on ctor.")</AttributeName>
</Attribute>
</Attributes>
2004-11-04 19:29:01 +00:00
<ReturnValue >
2009-01-06 16:29:49 +00:00
<ReturnType > System.Boolean</ReturnType>
2004-11-04 19:29:01 +00:00
</ReturnValue>
2009-01-06 16:29:49 +00:00
<Parameters >
</Parameters>
2004-11-04 19:29:01 +00:00
<Docs >
2009-01-06 16:29:49 +00:00
<summary > Indicates if the native handle is owned by the Managed list class.</summary>
<value > an object of type <see cref= "T:System.Boolean" /> </value>
<remarks > Identifies the list as one that needs to be freed. Only set this to true if you want the object to release the associated native list when it is disposed.</remarks>
2004-11-04 19:29:01 +00:00
</Docs>
</Member>
2009-01-06 16:29:49 +00:00
<Member MemberName= "Prepend" >
<MemberSignature Language= "C#" Value= "public void Prepend (IntPtr raw);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public hidebysig instance void Prepend(native int raw) cil managed" />
2007-10-05 18:20:57 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2009-01-06 16:29:49 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
2007-10-05 18:20:57 +00:00
</Parameters>
<Docs >
2009-01-06 16:29:49 +00:00
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
<summary > Prepends an element to the front of the list.</summary>
<remarks > This is faster than <see cref= "M:GLib.ListBase.Append" /> .</remarks>
</Docs>
</Member>
<Member MemberName= "SyncRoot" >
<MemberSignature Language= "C#" Value= "public object SyncRoot { get; }" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".property instance object SyncRoot" />
2009-01-06 16:29:49 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Object</ReturnType>
</ReturnValue>
<Docs >
<summary > Synchronization root.</summary>
<value > always <see langword= "null" /> </value>
<remarks > Always returns <see langword= "null" /> since this type is never synchronized.</remarks>
2007-10-05 18:20:57 +00:00
</Docs>
</Member>
2003-02-12 01:58:24 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>