Selection(T, Owner) Constructor (IEnumerable(T), T)
Creates a collection object comprising the given selected objects. The first object in the enumeration is considered the "primary" selection.
Namespace: Microsoft.Data.Tools.Design.Core.Context
Assembly: Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)
'Declaration
Public Sub New ( _
selectedObjects As IEnumerable(Of T), _
container As T _
)
'Usage
Dim selectedObjects As IEnumerable(Of T)
Dim container As T
Dim instance As New Selection(selectedObjects, _
container)
public Selection(
IEnumerable<T> selectedObjects,
T container
)
public:
Selection(
IEnumerable<T>^ selectedObjects,
T container
)
new :
selectedObjects:IEnumerable<'T> *
container:'T -> Selection
public function Selection(
selectedObjects : IEnumerable<T>,
container : T
)
- selectedObjects
Type: System.Collections.Generic..::..IEnumerable< (Of < ( <'T> ) > ) >
An enumeration of objects that should be selected.
- container
Type: T
Selection< (Of < ( <'T, Owner> ) > ) > Class