Enum VisibilityKind
VisibilityKind is an enumeration type that defines literals to determine the visibility of elements in a model.
[TypeConverter(typeof(VisibilityKindConverter))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//VisibilityKind")]
public enum VisibilityKind
Fields
Package = 3
A package element is owned by a namespace that is not a package, and is visible to elements that are in the same package as its owning namespace. Only named elements that are not owned by packages can be marked as having package visibility. Any element marked as having package visibility is visible to all elements within the nearest enclosing package (given that other owning elements have proper visibility). Outside the nearest enclosing package, an element marked as having package visibility is not visible.
Private = 1
A private element is only visible inside the namespace that owns it.
Protected = 2
A protected element is visible to elements that have a generalization relationship to the namespace that owns it.
Public = 0
A public element is visible to all elements that can access the contents of the namespace that owns it.