SPMobileComponent.GetParentMobileComponent, méthode (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets the parent SPMobileComponent object of the specified Control object.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

protected virtual SPMobileComponent GetParentMobileComponent (
	Control control



The Control whose parent is sought.

Valeur retournée

A SPMobileComponent object that is the parent, or a higher ancestor, of control.

In the default implementation, if the immediate parent of control is not a SPMobileComponent object, the GetParentMobileComponent method searches up the ancestor tree until it finds an SPMobileComponent object and then return it. If none is found, the method returns null.