共用方式為


IPackageableElement.OwningPackage Property

Gets the package that contains this element.

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

Syntax

'Declaration
ReadOnly Property OwningPackage As IPackage
IPackage OwningPackage { get; }
property IPackage^ OwningPackage {
    IPackage^ get ();
}
abstract OwningPackage : IPackage with get
function get OwningPackage () : IPackage

Property Value

Type: Microsoft.VisualStudio.Uml.Classes.IPackage

.NET Framework Security

See Also

Reference

IPackageableElement Interface

Microsoft.VisualStudio.Uml.Classes Namespace