Skip to content

PhaseArray

Public Class

An array that contains phase objects.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.PhaseArray

Namespace: Autodesk.Revit.DB

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

Syntax

public class PhaseArray : APIObject, IEnumerable

The PhaseArray type exposes the following members.

Constructors

Name

Description


Public Method
PhaseArray

Initializes a new instance of the PhaseArray class


Properties

Name

Description


Public Property
IsEmpty

Test to see if the array is empty.


Public Property
Code Example

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


Public Property

Gets or sets a phase at a specified index within the array.


Public Property

Returns the number of phases that are in the array.


Methods

Name

Description


Public Method

Add the phase to the end of the array.


Public Method

Removes every phase from the array, rendering it empty.


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

Retrieve a forward moving iterator to the array.


Public Method

Retrieve a forward moving iterator to the array.


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 phase into the array.


Public Method

Retrieve a backward moving iterator to the array.


Public Method

ToString

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