SelectionContainer 构造函数 (Boolean, Boolean)

创建新的 SelectionContainer 对象能够限制 SelectableObjectsSelectedObjects 集合中的用户控件。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Sub New ( _
    selectableReadOnly As Boolean, _
    selectedReadOnly As Boolean _
)
public SelectionContainer(
    bool selectableReadOnly,
    bool selectedReadOnly
)

参数

备注

selectableReadOnly 和 selectedReadOnly 参数的值。 ISelectionContainer只影响外部请求。

.NET Framework 安全性

请参见

参考

SelectionContainer 类

SelectionContainer 重载

Microsoft.VisualStudio.Shell 命名空间