DesignerDocDataService.IVsHasRelatedSaveItems.GetRelatedSaveTreeItems(VSSAVETREEITEM, UInt32, VSSAVETREEITEM[], UInt32) Method

Definition

Coordinates save operations across the documents maintained by this service.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsHasRelatedSaveItems.GetRelatedSaveTreeItems(Microsoft::VisualStudio::Shell::Interop::VSSAVETREEITEM saveItem, System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::VSSAVETREEITEM> ^ rgSaveTreeItems, [Runtime::InteropServices::Out] System::UInt32 % pcActual) = Microsoft::VisualStudio::Shell::Interop::IVsHasRelatedSaveItems::GetRelatedSaveTreeItems;
int IVsHasRelatedSaveItems.GetRelatedSaveTreeItems (Microsoft.VisualStudio.Shell.Interop.VSSAVETREEITEM saveItem, uint celt, Microsoft.VisualStudio.Shell.Interop.VSSAVETREEITEM[] rgSaveTreeItems, out uint pcActual);
Function GetRelatedSaveTreeItems (saveItem As VSSAVETREEITEM, celt As UInteger, rgSaveTreeItems As VSSAVETREEITEM(), ByRef pcActual As UInteger) As Integer Implements IVsHasRelatedSaveItems.GetRelatedSaveTreeItems

Parameters

saveItem
VSSAVETREEITEM

A VSSAVETREEITEM structure that specifies how the items are to be saves.

celt
UInt32

The number of documents to save.

rgSaveTreeItems
VSSAVETREEITEM[]

An array of VSSAVETREEITEM structures.

pcActual
UInt32

[out] Returns the actual number of documents saved.

Returns

If celt is either 0 or equal to pcActual, S_OK; if not, S_FALSE. If saveItem doesn't specify to close the documents, returns E_NOTIMPL.

Implements

Applies to