Selection.SelectedObjects Property
Gets an enumeration of the objects in the selection.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public ReadOnly Property SelectedObjects As IEnumerable(Of ModelItem)
'Usage
Dim instance As Selection
Dim value As IEnumerable(Of ModelItem)
value = instance.SelectedObjects
public IEnumerable<ModelItem> SelectedObjects { get; }
public:
property IEnumerable<ModelItem^>^ SelectedObjects {
IEnumerable<ModelItem^>^ get ();
}
public function get SelectedObjects () : IEnumerable<ModelItem>
Property Value
Type: System.Collections.Generic.IEnumerable<ModelItem>
An enumeration of the objects in the selection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace