SPNewCmdletBase<TCmdletObject> class

An abstract base class that is used to create new instances of objects and save them to the data store.


Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

public abstract class SPNewCmdletBase<TCmdletObject> : SPCmdlet
where TCmdletObject : class

Type parameters


The type of the cmdlet object to be created and saved.

Cmdlets that inherit from this base class create objects and add them to the data store.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.