共用方式為


SelectionContainer Constructor

Include Protected Members
Include Inherited Members

This constructor initializes a new SelectionContainer object on creation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SelectionContainer() Initializes a new SelectionContainer object. The overload provides the ability to restrict user control over the SelectableObjects and SelectedObjects collections.
Public method SelectionContainer(Boolean, Boolean) Creates a new SelectionContainer object with the ability to restrict user control over the SelectableObjects and SelectedObjects collections.

Top

Remarks

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

See Also

Reference

SelectionContainer Class

Microsoft.VisualStudio.Shell Namespace