Partager via


ListColumnCollection<TBusinessObject>.Add Method

 

Adds a ListColumn<TBusinessObject> object to a ListColumnCollection<TBusinessObject>.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Overload List

Name Description
System_CAPS_pubmethod Add(ListColumn<TBusinessObject>)

Adds the specified ListColumn<TBusinessObject> object to the ListColumnCollection<TBusinessObject>.

System_CAPS_pubmethod Add(String, Converter<TBusinessObject, String>)

Adds a ListColumn<TBusinessObject> object to the ListColumnCollection<TBusinessObject> with the specified display name and the display value that is returned from the specified delegate method. The delegate method converts information from a business object to a string that is used as the display value for the object in the column.

System_CAPS_pubmethod Add(String, String)

Adds a ListColumn<TBusinessObject> object to the ListColumnCollection<TBusinessObject> with the specified display name and the specified property name. The property name is retrieved from the business object and is used as the display value for the object in the column.

System_CAPS_pubmethod Add(String, String, IFormatProvider, String)

Adds a ListColumn<TBusinessObject> object to the ListColumnCollection<TBusinessObject> with the specified display name and the specified property name. The property name is retrieved from the business object and is used as the display value for the object in the column. A format string and a format provider that are used to format the display value are also specified.

See Also

ListColumnCollection<TBusinessObject> Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top