次の方法で共有


WindowSearchCustomFilter Constructor

Creates a new instance of a search filter with an apply-filter method for use by the search control for window search.

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

Syntax

'宣言
Public Sub New ( _
    displayText As String, _
    tooltip As String _
)
public WindowSearchCustomFilter(
    string displayText,
    string tooltip
)

Parameters

  • displayText
    Type: System.String
    The display text for the search filter. . Must be non-whitespace.
  • tooltip
    Type: System.String
    The tooltip text for the search filter. . Must not be an empty string.

.NET Framework Security

See Also

Reference

WindowSearchCustomFilter Class

Microsoft.VisualStudio.PlatformUI Namespace