Udostępnij za pośrednictwem


IVsSccVirtualFolders.IsItemChildOfVirtualFolder(String, Boolean) Method

Definition

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

public:
 int IsItemChildOfVirtualFolder(System::String ^ pszItemName, [Runtime::InteropServices::Out] bool % pfResult);
int IsItemChildOfVirtualFolder(std::wstring const & pszItemName, [Runtime::InteropServices::Out] bool & pfResult);
public int IsItemChildOfVirtualFolder (string pszItemName, out bool pfResult);
abstract member IsItemChildOfVirtualFolder : string * bool -> int
Public Function IsItemChildOfVirtualFolder (pszItemName As String, ByRef pfResult As Boolean) As Integer

Parameters

pszItemName
String

[in] The name of the child item.

pfResult
Boolean

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

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  
);  

Applies to