MultiplicityElementExtensions.SetBounds Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Set the multiplicity LowerValue/UpperValue based on a string in the form ""[LowerValue]..[UpperValue]"". [UpperValue] may be '*'.
Namespace: Microsoft.VisualStudio.Uml.Extensions
Assembly: Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub SetBounds ( _
multiplicityElement As IMultiplicityElement, _
boundsSpecification As String _
)
'Usage
Dim multiplicityElement As IMultiplicityElement
Dim boundsSpecification As String
multiplicityElement.SetBounds(boundsSpecification)
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
The IMultiplicityElement object
- boundsSpecification
Type: System.String
New bounds specification
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