ModelItem.GetCurrentValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the current value of the underlying model object the ModelItem is wrapping.
Namespace: System.Activities.Design.Model
Assembly: System.Activities.Design.Base (in System.Activities.Design.Base.dll)
Syntax
'Declaration
Public MustOverride Function GetCurrentValue As Object
'Usage
Dim instance As ModelItem
Dim returnValue As Object
returnValue = instance.GetCurrentValue()
public abstract Object GetCurrentValue()
public:
virtual Object^ GetCurrentValue() abstract
public abstract function GetCurrentValue() : Object
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 may return either an existing or new cloned instance of the object.
.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.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4