RVTDocs.com

Selection.SetReferences

Method
Description:
Selects the references. The references can be an element or a subelement in the host or a linked document.
Remarks:
This function will select the specified references and update the UI.
Syntax
public void SetReferences(
	IList<Reference> references
)
Parameters
Parameter Type Description
references IList The references to be selected.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException Changing the selection is not permitted while handling SelectionChanged Event.