Share via


UseCaseExtensions.CreateInclude Method

Create an IInclude link to show that this use case includes another.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateInclude ( _
    sourceUseCase As IUseCase, _
    targetUseCase As IUseCase _
) As IInclude
public static IInclude CreateInclude(
    this IUseCase sourceUseCase,
    IUseCase targetUseCase
)
[ExtensionAttribute]
public:
static IInclude^ CreateInclude(
    IUseCase^ sourceUseCase, 
    IUseCase^ targetUseCase
)
static member CreateInclude : 
        sourceUseCase:IUseCase * 
        targetUseCase:IUseCase -> IInclude
public static function CreateInclude(
    sourceUseCase : IUseCase, 
    targetUseCase : IUseCase
) : IInclude

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.UseCases.IInclude

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