共用方式為


SearchSettingsDataSource.ForwardEnterKeyOnSearchStart Property

Gets or sets the flag indicating whether the Visual Studio common search control forwards the enter-key event after a search is started. Default is false, indicating that the enter-key event is not forwarded by the control.

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

Syntax

'宣告
Public Property ForwardEnterKeyOnSearchStart As Boolean
public bool ForwardEnterKeyOnSearchStart { get; set; }

Property Value

Type: System.Boolean
Returns a flag indicating whether the search control forwards the enter-key event.

.NET Framework Security

See Also

Reference

SearchSettingsDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace