DetailColumnCollection.Add Method (DetailColumn)
Adds the specified DetailColumn object to the DetailColumnCollection.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public void Add(
DetailColumn item
)
public:
virtual void Add(
DetailColumn^ item
) sealed
Public Sub Add (
item As DetailColumn
)
Parameters
item
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.DetailColumnThe DetailColumn object that is added to the DetailColumnCollection.
Implements
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item is null. |
Examples
The following code example shows how to initialize a DetailColumnCollection and add a DetailColumn to the collection:
DetailColumnCollection columnList = new DetailColumnCollection();
DetailColumn column = new DetailColumn();
columnList.Add(column);
See Also
Add Overload
DetailColumnCollection Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top