Reference.ProvideValue(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
override System::Object ^ ProvideValue(IServiceProvider ^ serviceProvider);
public override object ProvideValue (IServiceProvider serviceProvider);
override this.ProvideValue : IServiceProvider -> obj
Public Overrides Function ProvideValue (serviceProvider As IServiceProvider) As Object
Parameters
- serviceProvider
- IServiceProvider
A class that implements the IXamlNameResolver service.
Returns
The value of the target property. This is potentially any object that is type-mapped in the relevant backing assemblies.
Exceptions
serviceProvider
value does not implement the IXamlNameResolver service.
-or-
Name value has not been set through construction or positional usage.
serviceProvider
is null
.
Remarks
This method expects a serviceProvider
value that implements the IXamlNameResolver service.