UseCaseExtensions.CreateExtend Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Create an IExtend link to show that this use case extends the definition of another.

Namespace:  Microsoft.VisualStudio.Uml.Extensions
Assembly:  Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateExtend ( _
    sourceUseCase As IUseCase, _
    targetUseCase As IUseCase _
) As IExtend
'Usage
Dim sourceUseCase As IUseCase
Dim targetUseCase As IUseCase
Dim returnValue As IExtend

returnValue = sourceUseCase.CreateExtend(targetUseCase)
public static IExtend CreateExtend(
    this IUseCase sourceUseCase,
    IUseCase targetUseCase
)
[ExtensionAttribute]
public:
static IExtend^ CreateExtend(
    IUseCase^ sourceUseCase, 
    IUseCase^ targetUseCase
)
static member CreateExtend : 
        sourceUseCase:IUseCase * 
        targetUseCase:IUseCase -> IExtend 
public static function CreateExtend(
    sourceUseCase : IUseCase, 
    targetUseCase : IUseCase
) : IExtend

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.UseCases.IExtend
Newly created Extend object

Usage Note

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

UseCaseExtensions Class

UseCaseExtensions Members

Microsoft.VisualStudio.Uml.Extensions Namespace