Editar

Compartilhar via


PropertyGrid.SelectedObjects Property

Definition

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