Compartilhar via


IVsRegisterNewDialogFilters.UnregisterNewProjectDialogFilter Method

Unregisters a 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

'Declaration
Function UnregisterNewProjectDialogFilter ( _
    dwFilterCookie As UInteger _
) As Integer
int UnregisterNewProjectDialogFilter(
    uint dwFilterCookie
)
int UnregisterNewProjectDialogFilter(
    [InAttribute] unsigned int dwFilterCookie
)
abstract UnregisterNewProjectDialogFilter : 
        dwFilterCookie:uint32 -> int
function UnregisterNewProjectDialogFilter(
    dwFilterCookie : uint
) : int

Parameters

  • dwFilterCookie
    Type: UInt32

    [in] Pointer to an integer containing a VSCOOKIE uniquely identifying the filter. From the RegisterNewProjectDialogFilter method call.

Return Value

Type: 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