Tries to get a child item with a given name. This method igonres user permissions and any trailing '.aspx' that might be part of the name.

Namespace:  N2
Assembly:  N2 (in N2.dll) Version: 1.0.404.40299 (1.4.4)

Syntax

C#
public virtual ContentItem GetChild(
	string childName
)
Visual Basic (Declaration)
Public Overridable Function GetChild ( _
	childName As String _
) As ContentItem
Visual C++
public:
virtual ContentItem^ GetChild(
	String^ childName
)

Parameters

childName
Type: System..::.String
The name of the child item to get.

Return Value

The child item if it is found otherwise null.

Remarks

If the method is passed an empty or null string it will return itself.

See Also