IVsRegisterFindScope.RegisterFindScope(IVsFindScope, UInt32) 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.
Dosyada bul için belirtilen bulma kapsamını kaydeder.
public:
int RegisterFindScope(Microsoft::VisualStudio::TextManager::Interop::IVsFindScope ^ pScope, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int RegisterFindScope(Microsoft::VisualStudio::TextManager::Interop::IVsFindScope const & pScope, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int RegisterFindScope (Microsoft.VisualStudio.TextManager.Interop.IVsFindScope pScope, out uint pdwCookie);
abstract member RegisterFindScope : Microsoft.VisualStudio.TextManager.Interop.IVsFindScope * uint32 -> int
Public Function RegisterFindScope (pScope As IVsFindScope, ByRef pdwCookie As UInteger) As Integer
Parametreler
- pScope
- IVsFindScope
'ndaki Dosyalarda bul için kullanılacak kapsam.
- pdwCookie
- UInt32
dışı Kayıtlı bulma kapsamı için tanımlama bilgisi.
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ı
Textmgr. IDL dosyasından:
HRESULT IVsRegisterFindScope::RegisterFindScope(
[in] IVsFindScope * pScope,
[out] DWORD_PTR * pdwCookie
);