2024 Class
Changes 3
C

SelectionChangedEventArgs

Description:
The event arguments used by the SelectionChanged event.
Inheritance Hierarchy:
System.Object
  System.EventArgs
    Autodesk.Revit.DB.Events.RevitAPIEventArgs
      Autodesk.Revit.DB.Events.RevitAPISingleEventArgs
        Autodesk.Revit.UI.Events.SelectionChangedEventArgs
Name Return Type Description Inherited From
M GetDocument() Document Returns the document associated with this event.
M GetReferences() IList<Reference> Returns the references that are currently selected.
M GetSelectedElements() ISet<ElementId> Returns ElementIds of selected elements.
M Dispose() None Releases all resources used by the RevitAPIEventArgs
M IsCancelled() bool Indicates whether the event is being cancelled. RevitAPIEventArgs
Name Return Type Description Inherited From
P Cancellable bool Indicates whether an event may be cancelled by an event delegate. RevitAPIEventArgs
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. RevitAPIEventArgs