共用方式為


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
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Sub New ( _
    selectableReadOnly As Boolean, _
    selectedReadOnly As Boolean _
)
public SelectionContainer(
    bool selectableReadOnly,
    bool selectedReadOnly
)

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 Overload

Microsoft.VisualStudio.Shell Namespace