IVsPreviewChangesList.OnClose(VSTREECLOSEACTIONS[]) Method

Definition

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

Applies to