Share via


Controller.WorkItem Property

Gets the current work item where the controller lives.

Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
<DependencyAttribute(NotPresentBehavior:=NotPresentBehavior.ReturnNull)> _
Public Property WorkItem As WorkItem
'Usage
Dim instance As Controller
Dim value As WorkItem

value = instance.WorkItem

instance.WorkItem = value
[DependencyAttribute(NotPresentBehavior=NotPresentBehavior.ReturnNull)] 
public WorkItem WorkItem { get; set; }
[DependencyAttribute(NotPresentBehavior=NotPresentBehavior::ReturnNull)] 
public:
property WorkItem^ WorkItem {
    WorkItem^ get ();
    void set (WorkItem^ value);
}
/** @property */
public WorkItem get_WorkItem ()

/** @property */
public void set_WorkItem (WorkItem value)
public function get WorkItem () : WorkItem

public function set WorkItem (value : WorkItem)

See Also

Reference

Controller Class
Controller Members
Microsoft.Practices.CompositeUI Namespace