Skip to content

VoltageTypeSet

Public Class

A set that contains voltage types.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.Electrical.VoltageTypeSet

Namespace: Autodesk.Revit.DB.Electrical

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class VoltageTypeSet : APIObject,
IEnumerable

The VoltageTypeSet type exposes the following members.

Constructors

Name

Description


Public Method
VoltageTypeSet

Initializes a new instance of the VoltageTypeSet class


Properties

Name

Description


Public Property
IsEmpty

Test to see if the set is empty.


Public Property
Code Example

Identifies if the object is read-only or modifiable.
(Inherited from APIObject)


Public Property

Returns the number of voltage types that are in the set.


Methods

Name

Description


Public Method

Removes every voltage type from the set, rendering it empty.


Public Method

Tests for the existence of a voltage type within the set.


Public Method
Dispose

Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

Removes a specified voltage type from the set.


Public Method

Retrieve a forward moving iterator to the set.


Public Method

Retrieve a forward moving iterator to the set.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Insert the specified voltage type into the set.


Public Method

Retrieve a backward moving iterator to the set.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)