Gets children the current user is allowed to access belonging to a certain zone, i.e. get only children with a certain zone name.
Namespace:
N2Assembly: N2 (in N2.dll) Version: 1.0.404.40299 (1.4.4)
Syntax
| C# |
|---|
public virtual ItemList GetChildren( string childZoneName ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Function GetChildren ( _ childZoneName As String _ ) As ItemList |
| Visual C++ |
|---|
public: virtual ItemList^ GetChildren( String^ childZoneName ) |
Parameters
- childZoneName
- Type: System..::.String
The name of the zone.
Return Value
A list of items that have the specified zone name.
Remarks
This method is used by N2 when when non-page items are added to a zone on a page and in edit mode when displaying which items are placed in a certain zone. Keep this in mind when overriding this method.