共用方式為


MultiplicityElementExtensions Class

Extension methods for IMultiplicityElement.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.MultiplicityElementExtensions

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class MultiplicityElementExtensions
public static class MultiplicityElementExtensions
[ExtensionAttribute]
public ref class MultiplicityElementExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type MultiplicityElementExtensions =  class end
public final class MultiplicityElementExtensions

The MultiplicityElementExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetBounds The multiplicity as a string in the form [LowerValue]..[UpperValue].
Public methodStatic member SetBounds Set the multiplicity LowerValue/UpperValue based on a string in the form [LowerValue]..[UpperValue]. [UpperValue] may be '*'.

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending UML Models and Diagrams.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace