Partager via


SearchSettingsDataSource.ForwardEnterKeyOnSearchStart Property

Gets or sets the flag indicating whether the 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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property ForwardEnterKeyOnSearchStart As Boolean
public bool ForwardEnterKeyOnSearchStart { get; set; }
public:
property bool ForwardEnterKeyOnSearchStart {
    bool get ();
    void set (bool value);
}
member ForwardEnterKeyOnSearchStart : bool with get, set
function get ForwardEnterKeyOnSearchStart () : boolean 
function set ForwardEnterKeyOnSearchStart (value : boolean)

Property Value

Type: 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