IVsSccVirtualFolders::IsItemChildOfVirtualFolder Method (String^, Boolean)
Visual Studio 2015
This method determines if a specified item is a child of any virtual folder.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pszItemName
-
Type:
System::String^
[in] The name of the child item.
- pfResult
-
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::Int32If 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.
From ivssccvirtualfolders.idl
HRESULT IsItemChildOfVirtualFolder(
[in] LPCOLESTR pszItemName,
[out] VARIANT_BOOL * pfResult
);
Show: