IVsFilterNewProjectDlg.FilterListItemByTemplateFile Method

Filters list items by template file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function FilterListItemByTemplateFile ( _
    pszTemplateFile As String, _
    <OutAttribute> ByRef pfFilter As Integer _
) As Integer
int FilterListItemByTemplateFile(
    string pszTemplateFile,
    out int pfFilter
)
int FilterListItemByTemplateFile(
    [InAttribute] String^ pszTemplateFile, 
    [OutAttribute] int% pfFilter
)
abstract FilterListItemByTemplateFile : 
        pszTemplateFile:string * 
        pfFilter:int byref -> int 
function FilterListItemByTemplateFile(
    pszTemplateFile : String, 
    pfFilter : int
) : int

Parameters

  • pszTemplateFile
    Type: System.String
    [in] Pointer to a string containing the name to test for filtering.
  • pfFilter
    Type: System.Int32%
    [out] Pointer to a Boolean. Set to true if the item should be filtered.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsFilterNewProjectDlg Interface

Microsoft.VisualStudio.Shell.Interop Namespace