Skip to content

[F] sealVisibilityModifiers

function sealVisibilityModifiers(
program,
property,
visibilityClass?): void

Seals a property’s visibility modifiers.

If the visibilityClass is provided, the property’s visibility modifiers will be sealed for that visibility class only. Otherwise, the property’s visibility modifiers will be sealed for all visibility classes (globally).

Parameters

ParameterTypeDescription
programProgram-
propertyModelPropertythe property to seal
visibilityClass?Enumthe optional visibility class to seal the property for

Returns

void