2027 Method
Changes 0
M

IPerformanceAdviserRule.GetElementFilter

Description:
Retrieves a filter to restrict elements to be checked.
Remarks:
If the rule needs to be executed on individual elements, it should return a filter that defines what elements the rule should apply to. Otherwise, nothing (i.e. null) should be returned. If filter is returned, it should stay valid till the end of the check.
ElementFilter GetElementFilter(
	Document document
)
  • document
    Document for which performance problems are being checked.
Return Value ElementFilter The filter to restrict elements to be checked.