次の方法で共有


NavigateToItem Class

Definition

Represents a single symbol, and holds all the information necessary to order symbols. Symbols are sorted first on the match kind (exact, prefix, or regular), then name, kind (file, class, method, etc.), and finally on a secondary string to break any ties.

public ref class NavigateToItem sealed
public ref class NavigateToItem sealed
class NavigateToItem sealed
public sealed class NavigateToItem
type NavigateToItem = class
Public NotInheritable Class NavigateToItem
Inheritance
NavigateToItem

Remarks

Symbols are sorted in the following order:

  1. matchKind (exact, prefix, or regular).

  2. name.

  3. kind (file, class, method, and so on).

  4. secondarySort, to sort any symbols that are otherwise equivalent.

Constructors

NavigateToItem(String, String, String, String, Object, MatchKind, Boolean, INavigateToItemDisplayFactory)
Obsolete.

Creates a new NavigateToItem.

NavigateToItem(String, String, String, String, Object, MatchKind, INavigateToItemDisplayFactory)
Obsolete.

Creates a new case-insensitive NavigateToItem.

NavigateToItem(String, String, String, String, Object, PatternMatch, INavigateToItemDisplayFactory)

Creates a new NavigateToItem.

Properties

DisplayFactory

Used to generate display information for this symbol on an as-needed basis.

IsCaseSensitive
Obsolete.

If this item's match was case-sensitive. Case-sensitive matches of the same MatchKind will be presented before insensitive matches. i.e. a case-sensitive exact match will come before a case-insensitive exact match. However, a case-sensitive prefix match will still come after a case-insensitive exact match.

Kind

The symbol's kind.

Language

The language from which the symbol comes.

MatchKind
Obsolete.

How this symbol matches the search string.

Name

The symbol's name.

PatternMatch

How this symbol matches the search string.

SecondarySort

An arbitrary string to allow for tie-breaking during sorting.

Tag

Implementor-specific data.

Applies to