RVTDocs.com
Namespace: Autodesk.Revit.DB Class: IndependentTag

IndependentTag.RemoveReferences

Method
Description:
Removes the provided list of references from the tag's list of references.
Remarks:
If the tag is owned by MRA element, an exception will be thrown.
Syntax
public void RemoveReferences(
	IList<Reference> referencesToRemove
)
Parameters
Parameter Type Description
referencesToRemove IList References to be removed from tag.
Return Value
Exceptions
Exception Condition
ArgumentException The operation failed. Please verify that the references are all tagged before removing them.
ArgumentNullException A non-optional argument was null
InvalidOperationException The IndependentTag object does not have a tag behavior. -or- Modifying tag references for MRA owned tag from API is not allowed.