Share via


ILinkedWorkItemExtension.OnWorkItemCreated Method (IEnumerable<IElement>, IWorkItemDocument)

 

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

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

Parameters

See Also

ILinkedWorkItemExtension Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top