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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.