IVsRegisterFindScope.RegisterFindScope(IVsFindScope, UInt32) Yöntem

Tanım

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

Int32

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  
);  

Şunlara uygulanır