Click or drag to resize

ChildListHelpersFirstT Method

Return the first object in the collection, or null if the collection is null or empty.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static T First<T>(
	this ChildList<T> thisChildList
)
where T : CodeObject

Parameters

thisChildList
Type: Nova.CodeDOMChildListT

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ChildListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also