Freigeben über


NavigateToItem Constructors

Definition

Overloads

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.

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

Creates a new NavigateToItem.

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

Caution

MatchKind has been deprecated and new constructors have been added to this class taking a PatternMatch object instead. Please use those.

Creates a new case-insensitive NavigateToItem.

public:
 NavigateToItem(System::String ^ name, System::String ^ kind, System::String ^ language, System::String ^ secondarySort, System::Object ^ tag, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind matchKind, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory ^ displayFactory);
public:
 NavigateToItem(Platform::String ^ name, Platform::String ^ kind, Platform::String ^ language, Platform::String ^ secondarySort, Platform::Object ^ tag, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind matchKind, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory ^ displayFactory);
 NavigateToItem(std::wstring const & name, std::wstring const & kind, std::wstring const & language, std::wstring const & secondarySort, winrt::Windows::Foundation::IInspectable const & tag, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind matchKind, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory const & displayFactory);
public NavigateToItem (string name, string kind, string language, string secondarySort, object tag, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind matchKind, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory displayFactory);
[System.Obsolete("MatchKind has been deprecated and new constructors have been added to this class taking a PatternMatch object instead. Please use those.")]
public NavigateToItem (string name, string kind, string language, string secondarySort, object tag, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind matchKind, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory displayFactory);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem : string * string * string * string * obj * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem
[<System.Obsolete("MatchKind has been deprecated and new constructors have been added to this class taking a PatternMatch object instead. Please use those.")>]
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem : string * string * string * string * obj * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem
Public Sub New (name As String, kind As String, language As String, secondarySort As String, tag As Object, matchKind As MatchKind, displayFactory As INavigateToItemDisplayFactory)

Parameters

name
String

The name of the symbol.

kind
String

The symbol's kind. This should be one of the constants in NavigateToItemKind.

language
String

The name of the language this symbol comes from.

secondarySort
String

An arbitrary string for breaking ties in sorting.

tag
Object

Any data the implementor may need to identify the symbol later.

matchKind
MatchKind

Exact, prefix, aubstring, or regular.

displayFactory
INavigateToItemDisplayFactory

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

Attributes

Applies to

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

Creates a new NavigateToItem.

public:
 NavigateToItem(System::String ^ name, System::String ^ kind, System::String ^ language, System::String ^ secondarySort, System::Object ^ tag, Microsoft::VisualStudio::Text::PatternMatching::PatternMatch match, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory ^ displayFactory);
public NavigateToItem (string name, string kind, string language, string secondarySort, object tag, Microsoft.VisualStudio.Text.PatternMatching.PatternMatch match, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory displayFactory);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem : string * string * string * string * obj * Microsoft.VisualStudio.Text.PatternMatching.PatternMatch * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem
Public Sub New (name As String, kind As String, language As String, secondarySort As String, tag As Object, match As PatternMatch, displayFactory As INavigateToItemDisplayFactory)

Parameters

name
String

The name of the symbol.

kind
String

The symbol's kind. This should be one of the constants in NavigateToItemKind.

language
String

The name of the language this symbol comes from.

secondarySort
String

An arbitrary string for breaking ties in sorting.

tag
Object

Any data the implementor may need to identify the symbol later.

match
PatternMatch

An object describing how well the item relates to the search query.

displayFactory
INavigateToItemDisplayFactory

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

Applies to

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

Caution

MatchKind has been deprecated, and new constructors have been added to this class taking a PatternMatch object instead. Please use those.

Creates a new NavigateToItem.

public:
 NavigateToItem(System::String ^ name, System::String ^ kind, System::String ^ language, System::String ^ secondarySort, System::Object ^ tag, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind matchKind, bool isCaseSensitive, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory ^ displayFactory);
public:
 NavigateToItem(Platform::String ^ name, Platform::String ^ kind, Platform::String ^ language, Platform::String ^ secondarySort, Platform::Object ^ tag, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind matchKind, bool isCaseSensitive, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory ^ displayFactory);
 NavigateToItem(std::wstring const & name, std::wstring const & kind, std::wstring const & language, std::wstring const & secondarySort, winrt::Windows::Foundation::IInspectable const & tag, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind matchKind, bool isCaseSensitive, Microsoft::VisualStudio::Language::NavigateTo::Interfaces::INavigateToItemDisplayFactory const & displayFactory);
public NavigateToItem (string name, string kind, string language, string secondarySort, object tag, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind matchKind, bool isCaseSensitive, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory displayFactory);
[System.Obsolete("MatchKind has been deprecated, and new constructors have been added to this class taking a PatternMatch object instead. Please use those.")]
public NavigateToItem (string name, string kind, string language, string secondarySort, object tag, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind matchKind, bool isCaseSensitive, Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory displayFactory);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem : string * string * string * string * obj * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind * bool * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem
[<System.Obsolete("MatchKind has been deprecated, and new constructors have been added to this class taking a PatternMatch object instead. Please use those.")>]
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem : string * string * string * string * obj * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind * bool * Microsoft.VisualStudio.Language.NavigateTo.Interfaces.INavigateToItemDisplayFactory -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.NavigateToItem
Public Sub New (name As String, kind As String, language As String, secondarySort As String, tag As Object, matchKind As MatchKind, isCaseSensitive As Boolean, displayFactory As INavigateToItemDisplayFactory)

Parameters

name
String

The name of the symbol.

kind
String

The symbol's kind. This should be one of the constants in NavigateToItemKind.

language
String

The name of the language this symbol comes from.

secondarySort
String

An arbitrary string for breaking ties in sorting.

tag
Object

Any data the implementor may need to identify the symbol later.

matchKind
MatchKind

Exact, prefix, aubstring, or regular.

isCaseSensitive
Boolean

If this item's match was case sensitive.

displayFactory
INavigateToItemDisplayFactory

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

Attributes

Applies to