Dela via


InteractionConstraintExtensions.CreateMaxIntLiteralString Method

Set a maximum value in the interaction constraint. Creates an InteractionConstraintHasMaxInt link to a new LiteralString object.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateMaxIntLiteralString ( _
    parent As IInteractionConstraint _
) As ILiteralString
public static ILiteralString CreateMaxIntLiteralString(
    this IInteractionConstraint parent
)
[ExtensionAttribute]
public:
static ILiteralString^ CreateMaxIntLiteralString(
    IInteractionConstraint^ parent
)
static member CreateMaxIntLiteralString : 
        parent:IInteractionConstraint -> ILiteralString 
public static function CreateMaxIntLiteralString(
    parent : IInteractionConstraint
) : ILiteralString

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Classes.ILiteralString

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IInteractionConstraint. 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

InteractionConstraintExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace