Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MasterPage.LoadControl(Type, Object) Method

Obtains a UserControl object by type and injects dependencies according to Spring config file.

[Visual Basic]
Protected Overridable Overloads Shadows Sub LoadControl( _
   ByVal t As Type, _
   ParamArray parameters As Object _
)
[C#]
new protected virtual Control LoadControl(
   Type t,
   params object[] parameters
);

Parameters

t
The type of a user control.
parameters
parameters to pass to the control

Return Value

Returns the specified UserControl object, with dependencies injected.

See Also

MasterPage Class | Spring.Web.UI Namespace | MasterPage.LoadControl Overload List