Share via


ILinkedWorkItemExtension.OnWorkItemCreated Method

Called when a user wants to link a model element to a new TFS work item. Called before the work item is displayed to the user, so that you can set the fields in currentDocument.

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

Syntax

'Declaration
Sub OnWorkItemCreated ( _
    elements As IEnumerable(Of IElement), _
    currentDocument As IWorkItemDocument _
)
void OnWorkItemCreated(
    IEnumerable<IElement> elements,
    IWorkItemDocument currentDocument
)
void OnWorkItemCreated(
    IEnumerable<IElement^>^ elements, 
    IWorkItemDocument^ currentDocument
)
abstract OnWorkItemCreated : 
        elements:IEnumerable<IElement> * 
        currentDocument:IWorkItemDocument -> unit
function OnWorkItemCreated(
    elements : IEnumerable<IElement>, 
    currentDocument : IWorkItemDocument
)

Parameters

.NET Framework Security

See Also

Reference

ILinkedWorkItemExtension Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace