SPNewCmdletBase<TCmdletObject> Class
An abstract base class that is used to create new instances of objects and save them to the data store.
Inheritance Hierarchy
System.Object
InternalCommand
Cmdlet
PSCmdlet
Microsoft.SharePoint.PowerShell.SPCmdlet
Microsoft.SharePoint.PowerShell.SPNewCmdletBase<TCmdletObject>
Namespace: Microsoft.SharePoint.PowerShell
Assembly: Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)
Syntax
'Declaration
Public MustInherit Class SPNewCmdletBase(Of TCmdletObject As Class) _
Inherits SPCmdlet
'Usage
Dim instance As SPNewCmdletBase(Of TCmdletObject)
public abstract class SPNewCmdletBase<TCmdletObject> : SPCmdlet
where TCmdletObject : class
Type Parameters
- TCmdletObject
The type of the cmdlet object to be created and saved.
Remarks
Cmdlets that inherit from this base class create objects and add them to the data store.
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.