RepeatingReferenceSource.GetDefaultRepeatingReferenceSource
Description:
Returns the default repeating reference source for a given element.
Returns the default repeating reference source for a given element.
Remarks:
The element must support repeating references. Use HasRepeatingReferenceSource() to find out whether an element has any repeating references.
The element must support repeating references. Use HasRepeatingReferenceSource() to find out whether an element has any repeating references.
public static RepeatingReferenceSource GetDefaultRepeatingReferenceSource(
Document document,
ElementId elementId
)
-
documentThe document that contains the element.
-
elementIdThe id of the element.
-
The element elementId does not exist in the document -or- The element does not have any repeating reference sources.
-
A non-optional argument was null