SelectionContainer Constructors

Definition

This constructor initializes a new SelectionContainer object on creation.

Overloads

SelectionContainer()

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

SelectionContainer(Boolean, Boolean)

Creates a new SelectionContainer object with the ability to restrict user control over the SelectableObjects and SelectedObjects collections.

Remarks

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

SelectionContainer()

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

C++/CX
public:
 SelectionContainer();

Remarks

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

Applies to

Visual Studio SDK 2022 およびその他のバージョン
製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022

SelectionContainer(Boolean, Boolean)

Creates a new SelectionContainer object with the ability to restrict user control over the SelectableObjects and SelectedObjects collections.

C++/CX
public:
 SelectionContainer(bool selectableReadOnly, bool selectedReadOnly);

Parameters

selectableReadOnly
Boolean

Specifies if the collection of the selectable objects is read only.

selectedReadOnly
Boolean

Specifies if the selection is read only.

Remarks

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

Applies to

Visual Studio SDK 2022 およびその他のバージョン
製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022