共用方式為


DesignerDocDataService.IVsHasRelatedSaveItems.GetRelatedSaveTreeItems 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);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsHasRelatedSaveItems.GetRelatedSaveTreeItems : Microsoft.VisualStudio.Shell.Interop.VSSAVETREEITEM * uint32 * Microsoft.VisualStudio.Shell.Interop.VSSAVETREEITEM[] * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsHasRelatedSaveItems.GetRelatedSaveTreeItems : Microsoft.VisualStudio.Shell.Interop.VSSAVETREEITEM * uint32 * Microsoft.VisualStudio.Shell.Interop.VSSAVETREEITEM[] * uint32 -> int
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