Partager via


SelectionContainer Constructor

Initializes a new SelectionContainer object. The overload provides the ability to restrict user control over the SelectableObjects and SelectedObjects collections.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New
public SelectionContainer()
public:
SelectionContainer()
new : unit -> SelectionContainer
public function SelectionContainer()

Remarks

Calling the constructor of the SelectionContainer class creates a selection container, but does not populate it.

.NET Framework Security

See Also

Reference

SelectionContainer Class

SelectionContainer Overload

Microsoft.VisualStudio.Shell Namespace