DependencyObject::GetValue Method (DependencyProperty^)

 

Provides access to the value of the designated DependencyProperty.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
Object^ GetValue(
	DependencyProperty^ 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: