Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a collection of ListGrouping<TBusinessObject> objects that are used to group objects in the list pane of the Dashboard.
Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListGroupingCollection<TBusinessObject>
Syntax
public sealed class ListGroupingCollection<TBusinessObject> : MarshalByRefObject, 
    ICollection<ListGrouping<TBusinessObject>>, IEnumerable<ListGrouping<TBusinessObject>>, 
    IEnumerable
where TBusinessObject : class
generic<typename TBusinessObject>
where TBusinessObject : ref class
public ref class ListGroupingCollection sealed : MarshalByRefObject, 
    ICollection<ListGrouping<TBusinessObject>^>, IEnumerable<ListGrouping<TBusinessObject>^>, 
    IEnumerable
Public NotInheritable Class ListGroupingCollection(Of TBusinessObject As Class)
    Inherits MarshalByRefObject
    Implements ICollection(Of ListGrouping(Of TBusinessObject)), IEnumerable(Of ListGrouping(Of TBusinessObject)),
    IEnumerable
Type Parameters
- TBusinessObject
 Represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | ListGroupingCollection<TBusinessObject>() | Initializes a new instance of the ListGroupingCollection<TBusinessObject> class. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Count | Gets the number of ListGrouping<TBusinessObject> objects in the ListGroupingCollection<TBusinessObject>. | 
| .jpeg) | DefaultGrouping | Gets or sets the ListGrouping<TBusinessObject> object that will be used as the default group. | 
| .jpeg) | IsReadOnly | Gets a value indicating whether the ListGroupingCollection<TBusinessObject> is read-only. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Add(ListGrouping<TBusinessObject>) | Adds the specified ListGrouping<TBusinessObject> object to the ListGroupingCollection<TBusinessObject>. | 
| .jpeg) | Add(String, Converter<TBusinessObject, ListGroup<TBusinessObject>>) | Adds a ListGrouping<TBusinessObject> object to the ListGroupingCollection<TBusinessObject> with the specified display name and the ListGroup<TBusinessObject> object that is returned from the specified delegate method. The delegate method assigns business objects to the appropriate ListGroup<TBusinessObject>. | 
| .jpeg) | Clear() | Removes all ListGrouping<TBusinessObject> objects from the ListGroupingCollection<TBusinessObject>. | 
| .jpeg) | Contains(ListGrouping<TBusinessObject>) | Determines whether the specified ListGrouping<TBusinessObject> object is in the ListGroupingCollection<TBusinessObject>. | 
| .jpeg) | CopyTo(ListGrouping<TBusinessObject>[], Int32) | Copies the entire ListGroupingCollection<TBusinessObject> to a compatible one-dimensional array, starting at the specified index of the target array. | 
| .jpeg) | CreateObjRef(Type) | (Inherited from MarshalByRefObject.) | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | GetEnumerator() | Returns an enumerator that is used to iterate through the ListGroupingCollection<TBusinessObject>. | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetLifetimeService() | (Inherited from MarshalByRefObject.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) | 
| .jpeg) | Remove(ListGrouping<TBusinessObject>) | Removes the first occurrence of the specified ListGrouping<TBusinessObject> from the ListGroupingCollection<TBusinessObject>. | 
| .jpeg) | ToString() | (Inherited from Object.) | 
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .jpeg) .jpeg) | IEnumerable.GetEnumerator() | Returns an IEnumerator that can iterate through a collection. | 
Remarks
TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.
A ListGroupingCollection<TBusinessObject> can be passed as an argument to one of the Create methods of PageContent.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top