IVsPreviewChangesList.OnClose(VSTREECLOSEACTIONS[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when this preview list is closed (unexpanded).
public:
int OnClose(cli::array <Microsoft::VisualStudio::Shell::Interop::VSTREECLOSEACTIONS> ^ ptca);
public:
int OnClose(Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSTREECLOSEACTIONS> ^ ptca);
int OnClose(std::Array <Microsoft::VisualStudio::Shell::Interop::VSTREECLOSEACTIONS> const & ptca);
public int OnClose (Microsoft.VisualStudio.Shell.Interop.VSTREECLOSEACTIONS[] ptca);
abstract member OnClose : Microsoft.VisualStudio.Shell.Interop.VSTREECLOSEACTIONS[] -> int
Public Function OnClose (ptca As VSTREECLOSEACTIONS()) As Integer
Parameters
- ptca
- VSTREECLOSEACTIONS[]
[out] Returns a value from the VSTREECLOSEACTIONS enumeration describing what to do with the children of this item.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsPreviewChangesList::OnClose(
[out] VSTREECLOSEACTIONS *ptca
);