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
sourceUseCase
Type: Microsoft.VisualStudio.Uml.UseCases.IUseCaseThe extending use case, which defines additional behavior.
targetUseCase
Type: Microsoft.VisualStudio.Uml.UseCases.IUseCaseThe base use case that is extended by the additional behavior defined in the source.
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
- 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