ComponentOne FinancialChart for WPF
C1.WPF.Localization Namespace / C1LocalizeExtension Class / ProvideValue Method
A service provider helper that can provide services for the markup extension.



In This Topic
    ProvideValue Method
    In This Topic
    When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
    Syntax
    'Declaration
     
    
    Public Overrides Function ProvideValue( _
       ByVal serviceProvider As IServiceProvider _
    ) As Object
    'Usage
     
    
    Dim instance As C1LocalizeExtension
    Dim serviceProvider As IServiceProvider
    Dim value As Object
     
    value = instance.ProvideValue(serviceProvider)
    public override object ProvideValue( 
       IServiceProvider serviceProvider
    )
    public:
    Object^ ProvideValue( 
       IServiceProvider^ serviceProvider
    ) override 

    Parameters

    serviceProvider
    A service provider helper that can provide services for the markup extension.

    Return Value

    The object value to set on the property where the extension is applied.
    Exceptions
    See Also