2022 Method
Changes 0
M

ComponentRepeater.RemoveRepeaters

Description:
Removes component repeaters from the document, but leaves the individual repeated components in their respective locations and hosted on their original hosts.
Remarks:
In addition to the component repeaters the component repeater slots are also removed from the document.
public static ISet<ElementId> RemoveRepeaters(
	Document document,
	ISet<ElementId> elementIds
)
  • document
    The document that contains the component repeaters to remove.
  • ISet<ElementId>
    elementIds
    The set of component repeaters that should be removed.
Return Value ISet<ElementId> A collection of components that were previously repeated by the component repeater.