ModelItem.GetCurrentValue Method (System.Activities.Presentation.Model)

Switch View :
ScriptFree
.NET Framework Class Library
ModelItem.GetCurrentValue Method

Returns the current value of the underlying model object that the ModelItem is wrapping.

Namespace:  System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)
Syntax

Visual Basic
Public MustOverride Function GetCurrentValue As Object
C#
public abstract Object GetCurrentValue()
Visual C++
public:
virtual Object^ GetCurrentValue() abstract
F#
abstract GetCurrentValue : unit -> Object 

Return Value

Type: System.Object
Returns the current value of the underlying model object that the ModelItem is wrapping as a Object.
Remarks

You can inspect this object, but you should not make any changes to it. Changes made to the object returned will not be incorporated into the designer. The GetCurrentValue() method can return either an existing or new cloned instance of the object.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
.NET Framework Security

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference