Share via


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)

Syntax

'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)

Parameters

  • container
    Type: T

See Also

Reference

Selection< (Of < ( <'T, Owner> ) > ) > Class

Selection< (Of < ( <'T, Owner> ) > ) > Overload

Microsoft.Data.Tools.Design.Core.Context Namespace