DependencyObject::GetValue Method (DependencyProperty^)
.NET Framework (current version)
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::Object^The object that represents the value of the designated DependencyProperty.
This member is typically used in property gets to furnish the value of the named dependency value.
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: