Delen via


StartPageRelativeExtension.ProvideValue Method

Gets the object that is defined in the XAML.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Overrides Function ProvideValue ( _
    serviceProvider As IServiceProvider _
) As Object
public override Object ProvideValue(
    IServiceProvider serviceProvider
)
public:
virtual Object^ ProvideValue(
    IServiceProvider^ serviceProvider
) override
abstract ProvideValue : 
        serviceProvider:IServiceProvider -> Object  
override ProvideValue : 
        serviceProvider:IServiceProvider -> Object
public override function ProvideValue(
    serviceProvider : IServiceProvider
) : Object

Parameters

  • serviceProvider
    Type: IServiceProvider

    The service provider.

Return Value

Type: Object
An object which may be a Uri, an ImageSource, or a string.

.NET Framework Security

See Also

Reference

StartPageRelativeExtension Class

Microsoft.VisualStudio.PlatformUI Namespace