Verifies that all of the elements match the reference category required by the MultiReferenceAnnotationType. 
   Namespace:   Autodesk.Revit.DB  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0) 
  Since:  2014 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- elements
-  Type:  System.Collections.Generic ICollection   ElementId  
 The elements to test.
Return Value
True if all the elements match the reference category required by the MultiReferenceAnnotationType.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |