次の方法で共有


IVsRegisterNewDialogFilters.RegisterNewProjectDialogFilter Method

Registers a new filter for the AddNewProject dialog.

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

Syntax

'宣言
Function RegisterNewProjectDialogFilter ( _
    pFilter As IVsFilterNewProjectDlg, _
    <OutAttribute> ByRef pdwFilterCookie As UInteger _
) As Integer
'使用
Dim instance As IVsRegisterNewDialogFilters
Dim pFilter As IVsFilterNewProjectDlg
Dim pdwFilterCookie As UInteger
Dim returnValue As Integer

returnValue = instance.RegisterNewProjectDialogFilter(pFilter, _
    pdwFilterCookie)
int RegisterNewProjectDialogFilter(
    IVsFilterNewProjectDlg pFilter,
    out uint pdwFilterCookie
)
int RegisterNewProjectDialogFilter(
    [InAttribute] IVsFilterNewProjectDlg^ pFilter, 
    [OutAttribute] unsigned int% pdwFilterCookie
)
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.

Permissions

See Also

Reference

IVsRegisterNewDialogFilters Interface

IVsRegisterNewDialogFilters Members

Microsoft.VisualStudio.Shell.Interop Namespace