Edit

Share via


XamlDeferringLoader.Load(XamlReader, IServiceProvider) Method

Definition

Loads XAML content in a deferred mode, which is based on a XamlReader and certain required services from a service provider.

public:
 abstract System::Object ^ Load(System::Xaml::XamlReader ^ xamlReader, IServiceProvider ^ serviceProvider);
public abstract object Load (System.Xaml.XamlReader xamlReader, IServiceProvider serviceProvider);
abstract member Load : System.Xaml.XamlReader * IServiceProvider -> obj
Public MustOverride Function Load (xamlReader As XamlReader, serviceProvider As IServiceProvider) As Object

Parameters

xamlReader
XamlReader

The initiating reader that is returned on calls to Save(Object, IServiceProvider).

serviceProvider
IServiceProvider

The service provider for the required services.

Returns

The root object that is produced by the input XamlReader.

Applies to

See also