RVTDocs.com

PerformanceAdviser.ExecuteRules(Document, IList<Int32>)

Method
Description:
Executes selected rules on a given document.
Remarks:
Disabled rules are not executed.
Syntax
public IList<FailureMessage> ExecuteRules(
	Document document,
	IList<int> rules
)
Parameters
Parameter Type Description
document Document Document on which the rules will be executed.
rules IList Indices of rules to be executed.
Return Value
Type Description
IList Failure messages explaining performance problems detected in the document.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null