Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This method retrieves a list of virtual folders that appear under a specified node in a project hierarchy.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetVirtualFolders ( _
itemid As UInteger, _
<OutAttribute> pCaStringsOut As CALPOLESTR() _
) As Integer
int GetVirtualFolders(
uint itemid,
CALPOLESTR[] pCaStringsOut
)
int GetVirtualFolders(
[InAttribute] unsigned int itemid,
[OutAttribute] array<CALPOLESTR>^ pCaStringsOut
)
abstract GetVirtualFolders :
itemid:uint32 *
pCaStringsOut:CALPOLESTR[] byref -> int
function GetVirtualFolders(
itemid : uint,
pCaStringsOut : CALPOLESTR[]
) : int
Parameters
itemid
Type: 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: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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 CoTaskMemFree.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.