共用方式為


IPackage.AllProfileInstances Property

Gets a list of all Profiles linked to this Package and Profiles recursively inherited from its ancestor owning packages. Stereotypes from these Profiles can be applied to elements inside the Package. In addition, Stereotypes from Profiles in containing packages or models can be applied to elements inside the package.

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

Syntax

'Declaration
ReadOnly Property AllProfileInstances As IEnumerable(Of IProfileInstance)
IEnumerable<IProfileInstance> AllProfileInstances { get; }
property IEnumerable<IProfileInstance^>^ AllProfileInstances {
    IEnumerable<IProfileInstance^>^ get ();
}
abstract AllProfileInstances : IEnumerable<IProfileInstance> with get
function get AllProfileInstances () : IEnumerable<IProfileInstance>

Property Value

Type: System.Collections.Generic.IEnumerable<IProfileInstance>

.NET Framework Security

See Also

Reference

IPackage Interface

Microsoft.VisualStudio.Uml.Classes Namespace