ObjectNodeExtensions.GetUpperBound Method
The upper bound of the current ObjectNode. int.MaxValue is returned if the upper bound is '*'.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetUpperBound ( _
objectNode As IObjectNode _
) As Integer
public static int GetUpperBound(
this IObjectNode objectNode
)
[ExtensionAttribute]
public:
static int GetUpperBound(
IObjectNode^ objectNode
)
static member GetUpperBound :
objectNode:IObjectNode -> int
public static function GetUpperBound(
objectNode : IObjectNode
) : int
Parameters
- objectNode
Type: Microsoft.VisualStudio.Uml.Activities.IObjectNode
Return Value
Type: System.Int32
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IObjectNode. 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
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace