Activity Property
See Also 
SourceCode.Workflow.Authoring Namespace > Event Class : Activity Property



Glossary Item Box

Gets or sets the parent Activity object to which the Event belongs.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Activity As Activity
Visual Basic (Usage)Copy Code
Dim instance As Event
Dim value As Activity
 
value = instance.Activity
C# 
public Activity Activity {get;}
C++/CLI 
public:
property Activity^ Activity {
   Activity^ get();
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also