PropertyGrid.SelectedObjects Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the currently selected objects.
public:
property cli::array <System::Object ^> ^ SelectedObjects { cli::array <System::Object ^> ^ get(); void set(cli::array <System::Object ^> ^ value); };
[System.ComponentModel.Browsable(false)]
public object[] SelectedObjects { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectedObjects : obj[] with get, set
Public Property SelectedObjects As Object()
Property Value
An array of type Object. The default is an empty array.
- Attributes
Exceptions
One of the items in the array of objects had a null value.
Remarks
The PropertyGrid only displays the properties that are common to all the objects that are in the array. Assigning an array to the SelectedObjects replaces the reference to any SelectedObject you might make.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for