DeleteRule Method


Deletes a performance adviser rule from the list of rules.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public void DeleteRule(
	PerformanceAdviserRuleId id
)
Visual Basic
Public Sub DeleteRule ( _
	id As PerformanceAdviserRuleId _
)
Visual C++
public:
void DeleteRule(
	PerformanceAdviserRuleId^ id
)

Parameters

id
Type: Autodesk.Revit.DB PerformanceAdviserRuleId
An id of the rule to be deleted from the list of rules.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also