IVsSccVirtualFolders::GetVirtualFolders Method (UInt32, array<CALPOLESTR>^)
Visual Studio 2015
This method retrieves a list of virtual folders that appear under a specified node in a project hierarchy.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- itemid
-
Type:
System::UInt32
[in] A node type in a project hierarchy. This is a unique identifier for a project or folder item or one of the following values: VSITEMID_NIL, VSITEMID_ROOT, or VSITEMID_SELECTION.
- pCaStringsOut
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::CALPOLESTR>^
[in, out] The pre-allocated CALPOLESTR structure is filled with an array of virtual folder names that appear under the node specified by itemid.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From ivssccvirtualfolders.idl
HRESULT GetVirtualFolders(
[in] VSITEMID itemid,
[out] CALPOLESTR *pCaStringsOut
);
The array of names returned in the pre-allocated CALPOLESTR structure needs to be de-allocated with a call to .3d0af12e-fc74-4ef7-b2dd-e9da5d0483c7
Show: