ILinkedWorkItemExtension.OnWorkItemCreated Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
OnWorkItemCreated is called when the element is about to be linked to a new work item.
Namespace: Microsoft.VisualStudio.Uml.Extensions
Assembly: Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)
Syntax
'Declaration
Sub OnWorkItemCreated ( _
elements As IEnumerable(Of IElement), _
currentDocument As IWorkItemDocument _
)
'Usage
Dim instance As ILinkedWorkItemExtension
Dim elements As IEnumerable(Of IElement)
Dim currentDocument As IWorkItemDocument
instance.OnWorkItemCreated(elements, _
currentDocument)
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
- elements
Type: System.Collections.Generic.IEnumerable<IElement>
elements to be associated with the newly created work item.
- currentDocument
Type: IWorkItemDocument
Newly created work item document
.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
ILinkedWorkItemExtension Interface