Export (0) Print
Expand All

IVsSccVirtualFolders.IsItemChildOfVirtualFolder Method

This method determines if a specified item is a child of any virtual folder.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int IsItemChildOfVirtualFolder(
	string pszItemName,
	out bool pfResult


Type: System.String

[in] The name of the child item.

Type: System.Boolean

[out] Returns true if the item is a file or subfolder of any virtual folder. Otherwise, it returns false.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Note that this method does not indicate which virtual folder the item is a child of, only that it is a child of a virtual folder.

COM Signature

From ivssccvirtualfolders.idl

HRESULT IsItemChildOfVirtualFolder(
   [in] LPCOLESTR pszItemName,
   [out] VARIANT_BOOL * pfResult

© 2014 Microsoft