IVsSimplePreviewChangesList.OnClose(VSTREECLOSEACTIONS[]) 方法

定义

当关闭此预览列表 (未展开的) 时调用。

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

参数

ptca
VSTREECLOSEACTIONS[]

弄从枚举返回一个值,该值 VSTREECLOSEACTIONS 描述要如何处理此项的子项。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

HRESULT IVsSimplePreviewChangesList::OnClose(  
   [out] VSTREECLOSEACTIONS *ptca  
);  

适用于