IVsPreviewChangesList::OnRequestSource Method (UInt32, Object^)
Visual Studio 2015
Loads the source for the specified preview item and displays it in the given text view.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- index
-
Type:
System::UInt32
[in] The index of the item to display.
- pIUnknownTextView
-
Type:
System::Object^
[in] An IUnknown object that represents the text view. This is typically an IVsTextView object.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsPreviewChangesList::OnRequestSource( [in] ULONG Index, [in] IUnknown *pIUnknownTextView );
This method is responsible for setting the given text view's buffer to a buffer that contains the source of the specified item.
Show: