StartPageRelativeExtension.ProvideValue Method
Returns the object based on the relative path provided.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.StartPage (in Microsoft.VisualStudio.Shell.StartPage.dll)
Syntax
'Dichiarazione
Public Overrides Function ProvideValue ( _
serviceProvider As IServiceProvider _
) As Object
'Utilizzo
Dim instance As StartPageRelativeExtension
Dim serviceProvider As IServiceProvider
Dim returnValue As Object
returnValue = instance.ProvideValue(serviceProvider)
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: System.IServiceProvider
IServiceProvider
Return Value
Type: System.Object
Object which may be ImageSource, URI or string
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
StartPageRelativeExtension Class