共用方式為


IVsSearchControlPrivate.GetSearchBoxSelection Method

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

Syntax

'宣告
Sub GetSearchBoxSelection ( _
    <OutAttribute> ByRef piSelectionStart As Integer, _
    <OutAttribute> ByRef piSelectionEnd As Integer _
)
void GetSearchBoxSelection(
    out int piSelectionStart,
    out int piSelectionEnd
)

Parameters

.NET Framework Security

See Also

Reference

IVsSearchControlPrivate Interface

Microsoft.Internal.VisualStudio.Shell.Interop Namespace