UseCaseExtensions.CreateExtend Method

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateExtend ( _
    sourceUseCase As IUseCase, _
    targetUseCase As IUseCase _
) As IExtend
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

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

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace