Share via


SPGetCmdletBase<TCmdletObject>.WriteResult method (IEnumerable<TCmdletObject>)

Writes data objects to the cmdlet pipelines.

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

Syntax

'Declaration
Protected Sub WriteResult ( _
    dataObjects As IEnumerable(Of TCmdletObject) _
)
'Usage
Dim dataObjects As IEnumerable(Of TCmdletObject)

Me.WriteResult(dataObjects)
protected void WriteResult(
    IEnumerable<TCmdletObject> dataObjects
)

Parameters

Remarks

Derived classes can override this method to control the process of writing objects to the pipeline. If more objects are returned than the value of the ResultSize property, a warning is produced.

See also

Reference

SPGetCmdletBase<TCmdletObject> class

SPGetCmdletBase<TCmdletObject> members

WriteResult overload

Microsoft.SharePoint.PowerShell namespace