Returns a collection of leaf FolderItemInfo objects each containing the given element Id.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public IList<FolderItemInfo> GetFolderItems( ElementId elementId )
Parameters
- elementId ElementId
- Element id located at a leaf position in the project browser.
Return Value
IList<FolderItemInfo>An array of FolderItemInfo objects.
Exceptions
Exception | Condition |
---|---|
ArgumentException | elementId is not a valid Element identifier. |
ArgumentNullException | A non-optional argument was null |