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
Object[]
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.