Share via


IVsRegisterNewDialogFilters.RegisterNewProjectDialogFilter Method

Registers a new filter for the Add New Project dialog.

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

Syntax

'Declaration
Function RegisterNewProjectDialogFilter ( _
    pFilter As IVsFilterNewProjectDlg, _
    <OutAttribute> ByRef pdwFilterCookie As UInteger _
) As Integer
int RegisterNewProjectDialogFilter(
    IVsFilterNewProjectDlg pFilter,
    out uint pdwFilterCookie
)
int RegisterNewProjectDialogFilter(
    [InAttribute] IVsFilterNewProjectDlg^ pFilter, 
    [OutAttribute] unsigned int% pdwFilterCookie
)
abstract RegisterNewProjectDialogFilter : 
        pFilter:IVsFilterNewProjectDlg * 
        pdwFilterCookie:uint32 byref -> int 
function RegisterNewProjectDialogFilter(
    pFilter : IVsFilterNewProjectDlg, 
    pdwFilterCookie : uint
) : int

Parameters

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

IVsRegisterNewDialogFilters Interface

Microsoft.VisualStudio.Shell.Interop Namespace