ProfilePropertyLoader.FindControl Method (Page, Type)
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Function FindControl ( _
objPage As Page, _
controlType As Type _
) As Control
'Usage
Dim objPage As Page
Dim controlType As Type
Dim returnValue As Control
returnValue = ProfilePropertyLoader.FindControl(objPage, _
controlType)
public static Control FindControl(
Page objPage,
Type controlType
)
Parameters
- objPage
Type: System.Web.UI.Page
- controlType
Type: System.Type
Return Value
Type: System.Web.UI.Control