Método SPMobileComponent.GetParentMobileComponent

Obtém o pai SPMobileComponent objeto T:Microsoft.SharePoint.MobileControls.SPMobileComponent do objeto especificado Control T:System.Web.UI.Control.

Espaço para nome Microsoft.SharePoint.MobileControls
Conjunto de Módulos (Assembly) Microsoft.SharePoint (em microsoft.sharepoint.dll)

A sintaxe

  Protected Overridable Function GetParentMobileComponent ( _
    control As Control _
) As SPMobileComponent
Dim control As Control
Dim returnValue As SPMobileComponent

returnValue = Me.GetParentMobileComponent(control)
  protected virtual SPMobileComponent GetParentMobileComponent (
    Control control
)

Parâmetros

  • control
    O Control cujo pai é procurado.

Retornar valor

Um objeto SPMobileComponent que é o pai ou um ancestral superior, de control.

Comentários

Na implementação de usar como padrão, se o pai imediato de control não for um objeto SPMobileComponent T:Microsoft.SharePoint.MobileControls.SPMobileComponent, as pesquisas método GetParentMobileComponent M:Microsoft.SharePoint.MobileControls.SPMobileComponent.GetParentMobileComponent(System.Web.UI.Control) até a árvore predecessor até encontrar um objeto SPMobileComponent T:Microsoft.SharePoint.MobileControls.SPMobileComponent e, em seguida, retorná-lo.Se nenhum for encontrado, o método retornará NULL null.

Consulte também

Referência

SPMobileComponent De classe
SPMobileComponent Membros
Microsoft.SharePoint.MobileControls De espaço para nome