ProvideValue Method
Collapse the table of content
Expand the table of content

CachedResourceDictionaryExtension.ProvideValue Method (IServiceProvider)

.NET Framework 4.6 and 4.5

Returns an object that is set as the value of the target property for this markup extension.

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

public override object ProvideValue(
	IServiceProvider serviceProvider


Type: System.IServiceProvider

An IServiceProvider object that can provide services for the markup extension.

Return Value

Type: System.Object

The Object value to set on the property where the extension is applied.

  The ProvideValue method of each extension can use an IServiceProvider object at run time that can provide context.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft