다음을 통해 공유


VisibilityKind Enumeration

DomainEnumeration: VisibilityKind Defines the scope within which the name of an element can be used.

Namespace:  Microsoft.VisualStudio.Uml.Classes
Assembly:  Microsoft.VisualStudio.Uml.Interfaces (in Microsoft.VisualStudio.Uml.Interfaces.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public Enumeration VisibilityKind
[CLSCompliantAttribute(true)]
public enum VisibilityKind
[CLSCompliantAttribute(true)]
public enum class VisibilityKind
[<CLSCompliantAttribute(true)>]
type VisibilityKind
public enum VisibilityKind

Members

Member name Description
Package Visible in the same model or package as the owner.
Private Not visible outside the owning namespace such as a class or package.
Protected Visible to specializations of the owning classifier.
Public Visible globally

Remarks

Note

The methods defined on this type are extension methods. To use the methods, you must add a project reference to the .NET assembly Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll, and you must include the directive using Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml; in your code.

See Also

Reference

Microsoft.VisualStudio.Uml.Classes Namespace