NavigateToItem Class

 

Represents a single symbol, and holds the information that is required to order symbols.

Namespace:   Microsoft.VisualStudio.Language.NavigateTo.Interfaces
Assembly:  Microsoft.VisualStudio.Language.NavigateTo.Interfaces (in Microsoft.VisualStudio.Language.NavigateTo.Interfaces.dll)

System.Object
  Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem

public sealed class NavigateToItem

NameDescription
System_CAPS_pubpropertyDisplayFactory

Gets UI-appropriate display information for the symbol.

System_CAPS_pubpropertyKind

Gets the symbol's kind. The kind is the file, class, method, and so on. It is one of the constants defined in NavigateToItemKind.

System_CAPS_pubpropertyLanguage

Gets the language from which the symbol comes.

System_CAPS_pubpropertyMatchKind

Gets the MatchKind member that indicates how the symbol matches the search string.

System_CAPS_pubpropertyName

Gets the name of the symbol.

System_CAPS_pubpropertySecondarySort

Gets the arbitrary string that is used to sort symbols that are otherwise equivalent.

System_CAPS_pubpropertyTag

Gets the custom data that the implementer provided.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: