IVsFilterNewProjectDlg.FilterListItemByTemplateFile(String, Int32) Method

Definition

Filters list items by template file.

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

Parameters

pszTemplateFile
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