RenderContentCollection
ReferencesA collection of Render content
Constructors
Finalizer
Properties
Methods
Add an array of non-const contents to the collection.
Parameters:
| collection (RenderContentCollection) | The array of contents to add |
Append a RenderContent to the collection
Parameters:
| content (RenderContent) | The array of contents to append. |
To be documented
Parameters:
| c (RenderContent) | |
| includeChildren (bool) |
The number of items in the collection.
Returns: The number of items in the collection.
Enumerates the contents in the collection. This makes it possible to use the collection directly in a foreach loop instead of manually driving a ContentCollectionIterator:
foreach (RenderContent content in collection) { ... } The collection also implements IEnumerable<RenderContent>, so LINQ can be used on it directly. Note that this method returns the non-generic enumerator for backwards compatibility, which is why the loop variable above is declared as RenderContent rather than var.Gets usage filter type for collection
Returns: Usage filter type for collection
Call FirstTag first - this gets the next tag
Returns: The next tag
Remove an array of contents from the collection.
Parameters:
| collection (RenderContentCollection) | Collection of contents to remove |
Set an array of const contents as the collection.
Parameters:
| collection (RenderContentCollection) | The array of contents to set. |
Set the collection to 'varies'. Only valid if the collection is a 'selection' collection. Useful for clients that only support single content selections.
Parameters:
| b (bool) | Varies if true |
Sets a search pattern for filtering contents. This is not actually used by the iterator, but is stored for use by any UI that wants to filter contents based on a search string by using the function RhRdkCheckSearchPattern()
Parameters:
| pattern (string) | The search pattern. See RhRdkCheckSearchPattern() for details |