IVsSolutionUIHierarchyWindow.AdviseSolutionUIEvents Yöntem

Tanım

Çözüm Gezgini penceresiyle ilgili olayları dinlemek için bir olay havuzunu kaydeder.

public:
 void AdviseSolutionUIEvents(Microsoft::VisualStudio::Shell::Interop::IVsSolutionUIEvents ^ pEventSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
void AdviseSolutionUIEvents(Microsoft::VisualStudio::Shell::Interop::IVsSolutionUIEvents const & pEventSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public void AdviseSolutionUIEvents (Microsoft.VisualStudio.Shell.Interop.IVsSolutionUIEvents pEventSink, out uint pdwCookie);
abstract member AdviseSolutionUIEvents : Microsoft.VisualStudio.Shell.Interop.IVsSolutionUIEvents * uint32 -> unit
Public Sub AdviseSolutionUIEvents (pEventSink As IVsSolutionUIEvents, ByRef pdwCookie As UInteger)

Parametreler

pEventSink
IVsSolutionUIEvents

'ndaki Olay bildirimlerini alan nesne.

pdwCookie
UInt32

dışı Çözüm Gezgini pencere olaylarının önergetirilmesi için istemciyi tanımlayan bir soyut değer döndürür. Bu tanımlama bilgisini daha sonra yöntemi çağrısının içinde kullanın UnadviseSolutionUIEvents(UInt32) .

Şunlara uygulanır