ParameterFilterUtilities.RemoveUnfilterableCategories Method

ParameterFilterUtilitiesRemoveUnfilterableCategories Method

Removes from the given set the categories that are not filterable.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static ICollection<ElementId> RemoveUnfilterableCategories(
	ICollection<ElementId> categories
)
Public Shared Function RemoveUnfilterableCategories ( 
	categories As ICollection(Of ElementId)
) As ICollection(Of ElementId)
public:
static ICollection<ElementId^>^ RemoveUnfilterableCategories(
	ICollection<ElementId^>^ categories
)
static member RemoveUnfilterableCategories : 
        categories : ICollection<ElementId> -> ICollection<ElementId> 

Parameters

categories  ICollectionElementId
The set of categories to check.

Return Value

ICollectionElementId
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also