Partilhar via


FeatureDefinition Class

Definition

Defines a feature which may be disabled using IFeatureService and grouped using BaseDefinitionAttribute

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

Examples

[Export]
[Name(nameof(MyFeature))]   // required
[BaseDefinition(PredefinedEditorFeatureNames.Popup)]   // zero or more BaseDefinitions are allowed
public FeatureDefinition MyFeature;

Remarks

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

Constructors

FeatureDefinition()

Applies to