Share via


SPCmdletPipeBind<TCmdletObject> members

An abstract class that represents a binding for pipeline and command-line input to PowerShell cmdlet parameters. This generic base class for SharePoint pipebind classes takes a generic type of TCmdletObject. The SPCmdletPipeBind<TCmdletObject> class provides the abstract methods Read and Discover. The cmdlet classes use the Read method to retrieve results. The Read method retrieves the object instance that represents the parameters associated with the current pipebind object; the Discover method populates the information that is required to retrieve or recreate the given object. All derived classes must override and implement these methods.

The SPCmdletPipeBind<TCmdletObject> type exposes the following members.

Constructors

  Name Description
Protected method SPCmdletPipeBind<TCmdletObject>() Initializes a new instance of the SPCmdletPipeBind<TCmdletObject> class.
Protected method SPCmdletPipeBind<TCmdletObject>(TCmdletObject) Initializes a new instance of the SPCmdletPipeBind<TCmdletObject> class. This constructor uses information from the supplied instance of an input object to initialize the pipebind object.

Top

Methods

  Name Description
Protected method Discover Populates information that is required to retrieve or recreate a given object instance.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Read Retrieves the input object that is associated with the current pipebind object.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPCmdletPipeBind<TCmdletObject> class

Microsoft.SharePoint.PowerShell namespace