MasterPage.LoadControl(Type, Object) Method
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 _
new protected virtual Control LoadControl(
   Type t,
   params object[] parameters


The type of a user control.
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