共用方式為


IVsFilterNewProjectDlg.FilterTreeItemByTemplateDir(String, Int32) Method

Definition

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.

Applies to