共用方式為


AggregationKind Enumeration

DomainEnumeration: AggregationKind Describes the sharing characteristics of an Association. The precise interpretation is open to local convention.

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

Syntax

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

Members

Member name Description
Composite Instances of the source type are composed of instances of the target type. A target instance cannot be shared between sources.
None The Association is a general relationship between types.
Shared Instances of the source type contain references to instances of the target type. More than one source may refer to each target.

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