Bagikan melalui


MultiplicityElementExtensions.SetBounds Method

Set the multiplicity LowerValue/UpperValue based on a string in the form [LowerValue]..[UpperValue]. [UpperValue] may be '*'.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SetBounds ( _
    multiplicityElement As IMultiplicityElement, _
    boundsSpecification As String _
)
public static void SetBounds(
    this IMultiplicityElement multiplicityElement,
    string boundsSpecification
)
[ExtensionAttribute]
public:
static void SetBounds(
    IMultiplicityElement^ multiplicityElement, 
    String^ boundsSpecification
)
static member SetBounds : 
        multiplicityElement:IMultiplicityElement * 
        boundsSpecification:string -> unit
public static function SetBounds(
    multiplicityElement : IMultiplicityElement, 
    boundsSpecification : String
)

Parameters

  • boundsSpecification
    Type: System.String

    lower..upper. Upper may be '*'.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMultiplicityElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

MultiplicityElementExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace