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.
| C# | Visual Basic | Visual C++ |
public virtual ContentItem GetChild( string childName )
Public Overridable Function GetChild ( _ childName As String _ ) As ContentItem
public: virtual ContentItem^ GetChild ( String^ childName )
- childName (String)
- The name of the child item to get.
The child item if it is found otherwise null.
If the method is passed an empty or null string it will return itself.