This documentation is archived and is not being maintained.
DependencyObject::GetValue Method
Visual Studio 2010
Provides access to the value of the designated DependencyProperty.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Parameters
- dependencyProperty
- Type: System.Workflow.ComponentModel::DependencyProperty
The DependencyProperty.
Return Value
Type: System::ObjectThe object that represents the value of the designated DependencyProperty.
The following code shows how to use GetValue to return the value represented by a named dependency property in the context of get and set. This code example is part of the Send E-mail SDK sample and is from the SendMailActivity.cs file. For more information, see Send E-mail Activity Sample.
- 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.
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.
Show: