Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- sourceUseCase
Type: Microsoft.VisualStudio.Uml.UseCases.IUseCase
The base use case that includes another.
- targetUseCase
Type: Microsoft.VisualStudio.Uml.UseCases.IUseCase
The use case whose behavior is forms part of the behavior of the source.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace