NavigateToItem Class
Represents a single symbol, and holds the information that is required to order symbols.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem
Namespace: Microsoft.VisualStudio.Language.NavigateTo.Interfaces
Assembly: Microsoft.VisualStudio.Language.NavigateTo.Interfaces (in Microsoft.VisualStudio.Language.NavigateTo.Interfaces.dll)
Syntax
'Declaration
Public NotInheritable Class NavigateToItem
public sealed class NavigateToItem
public ref class NavigateToItem sealed
[<Sealed>]
type NavigateToItem = class end
public final class NavigateToItem
The NavigateToItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NavigateToItem | Initializes a new instance of the NavigateToItem class. |
Top
Properties
Name | Description | |
---|---|---|
DisplayFactory | Gets UI-appropriate display information for the symbol. | |
Kind | Gets the symbol's kind. The kind is the file, class, method, and so on. It is one of the constants defined in NavigateToItemKind. | |
Language | Gets the language from which the symbol comes. | |
MatchKind | Gets the MatchKind member that indicates how the symbol matches the search string. | |
Name | Gets the name of the symbol. | |
SecondarySort | Gets the arbitrary string that is used to sort symbols that are otherwise equivalent. | |
Tag | Gets the custom data that the implementer provided. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Symbols are sorted in the following order:
matchKind (exact, prefix, or regular).
name.
kind (file, class, method, and so on).
secondarySort, to sort any symbols that are otherwise equivalent.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Language.NavigateTo.Interfaces Namespace