ProfilePropertyLoader.FindLoader Method
Finds the ProfilePropertyLoader control in the current HttpContext or the specified Page.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared Function FindLoader ( _
objPage As Page _
) As ProfilePropertyLoader
'Usage
Dim objPage As Page
Dim returnValue As ProfilePropertyLoader
returnValue = ProfilePropertyLoader.FindLoader(objPage)
public static ProfilePropertyLoader FindLoader(
Page objPage
)
Parameters
objPage
Type: System.Web.UI.PageThe page to be searched for the ProfilePropertyLoader control.
Return Value
Type: Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader
The profile property loader control associated with the page.
Remarks
This method always returns null if the specified Page is null .