編輯

共用方式為


ContributedFeatureState interface

A contributed feature/state pair

Properties

featureId

The full contribution id of the feature

overridden

True if the effective state was set by an override rule (indicating that the state cannot be managed by the end user)

reason

Reason that the state was set (by a plugin/rule).

scope

The scope at which this state applies

state

The current state of this feature

Property Details

featureId

The full contribution id of the feature

featureId: string

Property Value

string

overridden

True if the effective state was set by an override rule (indicating that the state cannot be managed by the end user)

overridden: boolean

Property Value

boolean

reason

Reason that the state was set (by a plugin/rule).

reason: string

Property Value

string

scope

The scope at which this state applies

scope: ContributedFeatureSettingScope

Property Value

state

The current state of this feature

state: ContributedFeatureEnabledValue

Property Value