RenderContentCollection

References
A collection of Render content

Constructors

RenderContentCollection

#Since v6.0
Construct an empty collection of RenderContent objects
public RenderContentCollection()

RenderContentCollection

#Since v6.0
Internal function to create collection from native pointer
public RenderContentCollection(
nint
nativePtr
Native pointer
)

Finalizer

~RenderContentCollection

#
Finalizer for RenderContentCollection
~RenderContentCollection()

Properties

CppPointer

#Since v6.0
Internal function to get native pointer
public nint CppPointer { get; }

Methods

Add

#Since v6.0
Add an array of non-const contents to the collection.
public void Add(
collection
The array of contents to add
)

Append

#Since v6.0
Append a RenderContent to the collection
public void Append(
content
The array of contents to append.
)

Clear

#Since v6.0
Clear the collection.
public void Clear()

ContentAt

#Since v6.0
Content at index
public RenderContent ContentAt(
index
)

ContentNeedsPreviewThumbnail

#Since v7.0
To be documented
public bool ContentNeedsPreviewThumbnail(
c,
includeChildren
)

Count

#Since v6.0
The number of items in the collection.
public int Count()
The number of items in the collection.

Dispose

#Since v6.0
Dispose function for RenderContentCollection
public void Dispose()

Find_Sel

#Since v6.0
TODO
public RenderContent Find_Sel(
uuid
)

FirstTag

#Since v6.13
Gets the first tag
public string FirstTag()
The first tag

GetEnumerator

#Since v6.0
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.
public IEnumerator GetEnumerator()

GetFilterContentByUsage

#Since v6.9
Gets usage filter type for collection
public FilterContentByUsage GetFilterContentByUsage()
Usage filter type for collection

GetForcedVaries

#Since v6.9
See SetForcedVaries
public bool GetForcedVaries()
Forced varies

GetSearchPattern

#Since v6.0
See SetSearchPattern
public string GetSearchPattern()

Iterator

#Since v6.0
Gets an iterator for the collection
public ContentCollectionIterator Iterator()

NextTag

#Since v6.13
Call FirstTag first - this gets the next tag
public string NextTag()
The next tag

Remove

#Since v6.0
Remove an array of contents from the collection.
public void Remove(
collection
Collection of contents to remove
)

Set

#Since v6.0
Set an array of const contents as the collection.
public void Set(
collection
The array of contents to set.
)

SetForcedVaries

#Since v6.9
Set the collection to 'varies'. Only valid if the collection is a 'selection' collection. Useful for clients that only support single content selections.
public void SetForcedVaries(
b
Varies if true
)

SetSearchPattern

#Since v6.0
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()
public void SetSearchPattern(
pattern
The search pattern. See RhRdkCheckSearchPattern() for details
)
Explicit

IEnumerable<RenderContent>.GetEnumerator

#Since v9.0