Remove a property from a stereotype
removeProperty(stereotype,propertyName)
removeProperty(stereotype,propertyName) removes a property from the stereotype.
stereotype
propertyName
collapse all
Add a component stereotype and add a VoltageRating property with value 5. Then remove the property.
VoltageRating
5
stype = addStereotype(profile,'electricalComponent','AppliesTo','Component') property = addProperty(stype,'VoltageRating','DefaultValue','5'); removeProperty(stype,'VoltageRating');
addProperty