共用方式為


__VSSEARCHPLACEMENT Enumeration

Specifies the search control’s placement in the window.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Public Enumeration __VSSEARCHPLACEMENT
public enum __VSSEARCHPLACEMENT
public enum class __VSSEARCHPLACEMENT
type __VSSEARCHPLACEMENT
public enum __VSSEARCHPLACEMENT

Members

Member name Description
SP_CUSTOM The window has a search host associated with it, but the search control does not have placement in the shell-owned frame area.
SP_DYNAMIC The search control is placed in the shell-owned frame area, and the shell dynamically adjusts the control's location and size depending on the number of toolbars, window size, and so on.
SP_NONE The search is not set up for the window.
SP_STRETCH The search control is placed in the shell-owned frame area, below the top toolbars (if any), on its own row, and stretching the frame width.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace