RhinoList(T).RemoveNulls Method

RhinoListTRemoveNulls Method

Removes all elements from the List that are null references (Nothing in Visual Basic). This function will not do anything if T is not a Reference type.

Namespace:  Rhino.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int RemoveNulls()
Public Function RemoveNulls As Integer

Return Value

Type: Int32
The number of nulls removed from the List.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also