IVsLiteTree::EnableTreeEvents Method (UInt32, Int32)
Visual Studio 2015
Enables reporting of events on the tree.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dwCookie
-
Type:
System::UInt32
[in] The VSCOOKIE returned by the AdviseTreeEvents method.
- fEnable
-
Type:
System::Int32
[in] Boolean. Set to true if events were enabled.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::EnableTreeEvents( [in] VSCOOKIE dwCookie, [in] BOOL fEnable );
Show: