WireMaterialTypeSet.Contains Method

WireMaterialTypeSetContains Method

Tests for the existence of a wire material type within the set.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual bool Contains(
	WireMaterialType item
)
Public Overridable Function Contains ( 
	item As WireMaterialType
) As Boolean
public:
virtual bool Contains(
	WireMaterialType^ item
)
abstract Contains : 
        item : WireMaterialType -> bool 
override Contains : 
        item : WireMaterialType -> bool 

Parameters

item  WireMaterialType
The wire material type to be searched for.

Return Value

Boolean
The Contains method returns True if the wire material type is within the set, otherwise False.
See Also