Partilhar via


FilterToShortcutDefinition Class

Definition

Specifies a mapping between a fitler and filter shortcuts.

public ref class FilterToShortcutDefinition sealed
public ref class FilterToShortcutDefinition sealed
class FilterToShortcutDefinition sealed
public sealed class FilterToShortcutDefinition
type FilterToShortcutDefinition = class
Public NotInheritable Class FilterToShortcutDefinition
Inheritance
FilterToShortcutDefinition

Examples

internal sealed class Components
{
   [Export]
   [Filter("File")]
   [FilterShortcut("All Files")]
   [FilterShortcut("Project Files")]
   internal FilterToShortcutDefinition abcFilterToShortcutDefinition;

   { other components }
}

Remarks

Because you cannot subclass this type, you can use the [Export] attribute with no type.

Constructors

FilterToShortcutDefinition()

Applies to