IVsFindTarget2.NavigateTo2(IVsTextSpanSet, TextSelMode) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belge içinde belirtilen bir konuma taşı.
public:
int NavigateTo2(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ pSpans, Microsoft::VisualStudio::TextManager::Interop::TextSelMode iSelMode);
public:
int NavigateTo2(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ pSpans, Microsoft::VisualStudio::TextManager::Interop::TextSelMode iSelMode);
int NavigateTo2(Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet const & pSpans, Microsoft::VisualStudio::TextManager::Interop::TextSelMode iSelMode);
public int NavigateTo2 (Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet pSpans, Microsoft.VisualStudio.TextManager.Interop.TextSelMode iSelMode);
abstract member NavigateTo2 : Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet * Microsoft.VisualStudio.TextManager.Interop.TextSelMode -> int
Public Function NavigateTo2 (pSpans As IVsTextSpanSet, iSelMode As TextSelMode) As Integer
Parametreler
- pSpans
- IVsTextSpanSet
[in] isteğe bağlı-eşleşmeyi açıklayan metin yaymalar kümesi GetTaggedSpans(IVsTextSpanSet)
- iSelMode
- TextSelMode
'ndaki Seçimi kutu veya akış olarak ayarlayın. Değerler üzerinden alınır TextSelMode .
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.
Açıklamalar
COM Imzası
Textfind. IDL dosyasından:
HRESULT IVsFindTarget2::NavigateTo2(
[in] IVsTextSpanSet *pSpans,
[in] enum _TextSelMode iSelMode
);