IVsFilterNewProjectDlg.FilterTreeItemByTemplateDir(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Filters tree items by template directory name.
public:
int FilterTreeItemByTemplateDir(System::String ^ pszTemplateDir, [Runtime::InteropServices::Out] int % pfFilter);
int FilterTreeItemByTemplateDir(std::wstring const & pszTemplateDir, [Runtime::InteropServices::Out] int & pfFilter);
public int FilterTreeItemByTemplateDir (string pszTemplateDir, out int pfFilter);
abstract member FilterTreeItemByTemplateDir : string * int -> int
Public Function FilterTreeItemByTemplateDir (pszTemplateDir As String, ByRef pfFilter As Integer) As Integer
Parameters
- pszTemplateDir
- String
[in] Pointer to a string containing the name to test for filtering.
- pfFilter
- Int32
[out] Pointer to a Boolean. Set to true
if the item should be filtered.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.