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

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

See Also

Reference

ObjectNodeExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace