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
- multiplicityElement
Type: Microsoft.VisualStudio.Uml.Classes.IMultiplicityElement
boundsSpecification
Type: System.Stringlower..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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
MultiplicityElementExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace