IVsSccVirtualFolders::IsItemChildOfVirtualFolder Method (String^, Boolean)

 

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,
	[OutAttribute] bool% pfResult
)

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::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.

From ivssccvirtualfolders.idl

HRESULT IsItemChildOfVirtualFolder(
   [in] LPCOLESTR pszItemName,
   [out] VARIANT_BOOL * pfResult
);
Return to top
Show: