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