다음을 통해 공유


INamedElement.Visibility Property

Defines where the element can be referenced. Public = visible anywhere; private = visible only in the owning Namespace; protected = visible to elements that have a generalization relationship to the owning Namespace; package = visible only in the Package owning the Namespace, if there is one. Default = public.

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

Syntax

'Declaration
Property Visibility As VisibilityKind
VisibilityKind Visibility { get; set; }
property VisibilityKind Visibility {
    VisibilityKind get ();
    void set (VisibilityKind value);
}
abstract Visibility : VisibilityKind with get, set
function get Visibility () : VisibilityKind 
function set Visibility (value : VisibilityKind)

Property Value

Type: Microsoft.VisualStudio.Uml.Classes.VisibilityKind

.NET Framework Security

See Also

Reference

INamedElement Interface

Microsoft.VisualStudio.Uml.Classes Namespace