Compartir a través de


IVsSolutionUIHierarchyWindow.EnableFilter Method

Enable the filter specified by the filter group and filter identifier pair.

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

Syntax

'Declaration
Function EnableFilter ( _
    ByRef pguidFilterGroup As Guid, _
    nFilterID As UInteger _
) As Boolean
bool EnableFilter(
    ref Guid pguidFilterGroup,
    uint nFilterID
)
bool EnableFilter(
    [InAttribute] Guid% pguidFilterGroup, 
    [InAttribute] unsigned int nFilterID
)
abstract EnableFilter : 
        pguidFilterGroup:Guid byref * 
        nFilterID:uint32 -> bool
function EnableFilter(
    pguidFilterGroup : Guid, 
    nFilterID : uint
) : boolean

Parameters

  • pguidFilterGroup
    Type: Guid%

    [in] The group to which the filter belongs.

  • nFilterID
    Type: UInt32

    [in] The identifier of the filter.

Return Value

Type: Boolean
true if the filter was successfully enabled.

.NET Framework Security

See Also

Reference

IVsSolutionUIHierarchyWindow Interface

Microsoft.VisualStudio.Shell.Interop Namespace