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" />
2003-02-12 01:58:24 +00:00
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 17:36:20 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
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
<Docs >
2003-08-30 02:35:39 +00:00
<summary > Base class for GList and GSList.</summary>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
<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>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
2007-01-15 21:19:09 +00:00
<AttributeName > System.Reflection.DefaultMember("Item")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
</Attributes>
2003-02-12 01:58:24 +00:00
<Members >
<Member MemberName= "element_type" >
<MemberSignature Language= "C#" Value= "protected Type element_type;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Type</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-02 16:54:40 +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>
<Member MemberName= "Clone" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public abstract object Clone ();" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-02 17:30:09 +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= "Dispose" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Dispose ();" />
2003-02-12 01:58:24 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-02 17:30:09 +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>
<Member MemberName= "CopyTo" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void CopyTo (Array array, int index);" />
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
<summary > Copies the list to a typed array.</summary>
<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>
<remarks >
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Prepend" >
<MemberSignature Language= "C#" Value= "public void Prepend (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2004-07-02 17:30:09 +00:00
<summary > Prepends an element to the front of the list.</summary>
2003-08-30 02:35:39 +00:00
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
2004-07-02 17:30:09 +00:00
<remarks > This is faster than <see cref= "M:GLib.ListBase.Append" /> .</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Append" >
<MemberSignature Language= "C#" Value= "public void Append (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2004-07-02 17:30:09 +00:00
<summary > Appends an element to the end of the list.</summary>
2003-08-30 02:35:39 +00:00
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
2004-07-02 17:30:09 +00:00
<remarks >
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
2003-08-19 21:16:32 +00:00
<Member MemberName= "Append" >
<MemberSignature Language= "C#" Value= "public void Append (string item);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 02:35:39 +00:00
<Parameter Name= "item" Type= "System.String" />
</Parameters>
2003-08-19 21:16:32 +00:00
<Docs >
2004-07-02 17:30:09 +00:00
<summary > Appends an element to the end of the list.</summary>
2003-08-19 21:16:32 +00:00
<param name= "item" > an object of type <see cref= "T:System.String" /> </param>
2004-07-02 17:30:09 +00:00
<remarks > This is a convenience overload to append a <see cref= "T:System.String" /> to the end of a list.</remarks>
2003-08-19 21:16:32 +00:00
</Docs>
</Member>
2003-02-12 01:58:24 +00:00
<Member MemberName= "SyncRoot" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public object SyncRoot { get; };" />
2003-02-12 01:58:24 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Object</ReturnType>
</ReturnValue>
<Docs >
2004-07-02 16:54:40 +00:00
<summary > Synchronization root.</summary>
2005-05-23 20:41:51 +00:00
<value > always <see langword= "null" /> </value>
2004-07-02 16:54:40 +00:00
<remarks > Always returns <see langword= "null" /> since this type is never synchronized.</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "IsSynchronized" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool IsSynchronized { get; };" />
2003-02-12 01:58:24 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2004-07-02 16:54:40 +00:00
<summary > Indicates if the list is synchronized.</summary>
2005-05-23 20:41:51 +00:00
<value > always <see langword= "false" /> </value>
2004-07-02 16:54:40 +00:00
<remarks > Always returns false. </remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Count" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public int Count { get; };" />
2003-02-12 01:58:24 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2004-07-02 16:54:40 +00:00
<summary > The number of elements in the list.</summary>
2005-05-23 20:41:51 +00:00
<value > the number of elements in the list as an <see cref= "T:System.Int32" /> </value>
2004-07-02 16:54:40 +00:00
<remarks />
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Handle" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public IntPtr Handle { get; };" />
2003-02-12 01:58:24 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Docs >
2003-08-30 02:35:39 +00:00
<summary > A raw list reference for marshaling situations.</summary>
2005-05-23 20:41:51 +00:00
<value > an object of type <see cref= "T:System.IntPtr" /> </value>
2003-12-24 01:35:30 +00:00
<remarks >
</remarks>
2003-02-12 01:58:24 +00:00
</Docs>
</Member>
<Member MemberName= "Managed" >
<MemberSignature Language= "C#" Value= "public bool Managed { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 01:58:24 +00:00
<Docs >
2004-07-02 16:54:40 +00:00
<summary > Indicates if the native handle is owned by the Managed list class.</summary>
2005-05-23 20:41:51 +00:00
<value > an object of type <see cref= "T:System.Boolean" /> </value>
2004-07-02 16:54:40 +00:00
<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>
2003-02-12 01:58:24 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-06-23 22:28:06 +00:00
<Attribute >
2007-01-15 21:19:09 +00:00
<AttributeName > System.Obsolete("Replaced by owned parameter on ctor.")</AttributeName>
2005-06-23 22:28:06 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= "GetEnumerator" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public System.Collections.IEnumerator GetEnumerator ();" />
2003-03-07 01:30:00 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-02 17:30:09 +00:00
<summary > Gets an <see cref= "T:System.Collections.IEnumerator" /> to enumerate the list elements.</summary>
2003-07-17 06:38:40 +00:00
<returns > a <see cref= "T:System.Collections.IEnumerator" /> </returns>
2004-07-02 17:30:09 +00:00
<remarks >
</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2003-09-17 21:56:59 +00:00
<Member MemberName= "Dispose" >
<MemberSignature Language= "C#" Value= "protected virtual void Dispose (bool disposing);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "disposing" Type= "System.Boolean" />
</Parameters>
<Docs >
2004-07-02 17:30:09 +00:00
<summary > Disposes the list.</summary>
2003-09-17 21:56:59 +00:00
<param name= "disposing" > a <see cref= "T:System.Boolean" /> </param>
2004-07-02 17:30:09 +00:00
<remarks > If the <see cref= "M:GLib.ListBase.Managed" /> property is set, the underlying native list is freed.</remarks>
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "Item" >
2007-01-15 21:19:09 +00:00
<MemberSignature Language= "C#" Value= "public object this[int index] { get; };" />
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
<summary > Indexer for list members.</summary>
<param name= "index" > a <see cref= "T:System.Int32" /> representing the 0 indexed offset to the member.</param>
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>
2004-11-04 19:29:01 +00:00
<Member MemberName= "Empty" >
<MemberSignature Language= "C#" Value= "public void Empty ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Empties the list.</summary>
<remarks > Empties, and frees the list, as well as all of its children</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-04 19:29:01 +00:00
</Docs>
</Member>
2007-10-05 18:20:57 +00:00
<Member MemberName= "Append" >
<MemberSignature Language= "C#" Value= "public void Append (object item);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "item" Type= "System.Object" />
</Parameters>
<Docs >
<param name= "item" > An item to be appended to the list.</param>
<summary > Appends an item to the List.</summary>
<remarks />
</Docs>
</Member>
2003-02-12 01:58:24 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>