Click or drag to resize

GenericSPSetFeatureCodeStatus Method

Set the status of a feature code (and all subcodes)

Namespace:  Cadcorp.GFB.CadcorpSP
Assembly:  Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public virtual void SetFeatureCodeStatus(
	int overlayNumber,
	int featureCode,
	bool enabled,
	bool dontCascade
)

Parameters

overlayNumber
Type: SystemInt32
The number of the overlay on which the theme exists
featureCode
Type: SystemInt32
The number of the code
enabled
Type: SystemBoolean
Should the theme be enabled?
dontCascade
Type: SystemBoolean
If true, the setting does not propagate to subcodes.
Remarks
Parameter
dontCascade
was introduced in 2.2.3079. Older proxies will not pass this argument and it will therefore default to
false
.
See Also