EnumerateResourcesActivity.GetCurrentIterationItem Method
Returns a copy of the current item.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)
Usage
'Usage
Dim dependencyObject As DependencyObject
Dim returnValue As Object
returnValue = EnumerateResourcesActivity.GetCurrentIterationItem(dependencyObject)
Syntax
'Declaration
Public Shared Function GetCurrentIterationItem ( _
dependencyObject As DependencyObject _
) As Object
public static Object GetCurrentIterationItem (
DependencyObject dependencyObject
)
public:
static Object^ GetCurrentIterationItem (
DependencyObject^ dependencyObject
)
public static Object GetCurrentIterationItem (
DependencyObject dependencyObject
)
public static function GetCurrentIterationItem (
dependencyObject : DependencyObject
) : Object
Parameters
- dependencyObject
A DependencyObject.
Return Value
A Object that represents the current item.
Example
The following example returns the current item from the query results.
ResourceType result = EnumerateResourcesActivity.GetCurrentIterationItem((CodeActivity)sender) as ResourceType;
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
Change History
See Also
Reference
EnumerateResourcesActivity Class
EnumerateResourcesActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
EnumerateResourcesActivity