Share via


CommandFilter Class

Maintains two lists of commands: those that specify ONLY and those that specify EXCLUDE.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class CommandFilter
'Usage
Dim instance As CommandFilter
[CLSCompliantAttribute(false)]
public sealed class CommandFilter
[CLSCompliantAttribute(false)]
public ref class CommandFilter sealed
public final class CommandFilter
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type CommandFilter =  class end

Remarks

A callback is also supported if a more complex algorithm is required. The "callback" is considered first in the "ONLY" list and then in the "EXCLUDE" list.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Project.Common.UI.CommandFilter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CommandFilter Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace