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
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Déclaration
Public Sub New
'Utilisation

Dim instance As New SelectionContainer()
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 Members

SelectionContainer Overload

Microsoft.VisualStudio.Shell Namespace