Partager via


SelectionContainer Constructor (Boolean, Boolean)

Creates a new SelectionContainer object with 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 ( _
    selectableReadOnly As Boolean, _
    selectedReadOnly As Boolean _
)
'Utilisation
Dim selectableReadOnly As Boolean
Dim selectedReadOnly As Boolean

Dim instance As New SelectionContainer(selectableReadOnly, _
    selectedReadOnly)
public SelectionContainer(
    bool selectableReadOnly,
    bool selectedReadOnly
)
public:
SelectionContainer(
    bool selectableReadOnly, 
    bool selectedReadOnly
)
new : 
        selectableReadOnly:bool * 
        selectedReadOnly:bool -> SelectionContainer
public function SelectionContainer(
    selectableReadOnly : boolean, 
    selectedReadOnly : boolean
)

Parameters

Remarks

The values of the selectableReadOnly and selectedReadOnly parameters only affect external requests through ISelectionContainer.

.NET Framework Security

See Also

Reference

SelectionContainer Class

SelectionContainer Members

SelectionContainer Overload

Microsoft.VisualStudio.Shell Namespace