Compartilhar via


Propriedade SPMobileComponent.MobileContext

Obtém um objeto que contém informações sobre o contexto que é especialmente relevante para computação móvel, such as linguagem de marcação da dispositivo móvel.

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

A sintaxe

  Protected Overridable ReadOnly Property MobileContext As SPMobileContext
Dim value As SPMobileContext

value = Me.MobileContext
  protected virtual SPMobileContext MobileContext { get; }

A propriedade Value

Um objeto SPMobileContext mantendo informações móvel contexto.

Comentários

A implementação usar como padrão retorna o valor do MobileContext P:Microsoft.SharePoint.SPContext.Web propriedade do SharePointContext P:Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext propriedade.MobileContext em vez de usarMicrosoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.MobileContextPara simplificar sua codificar.Fazer Não substituir MobileContext ou criar uma oportunidade que serão suas propriedades get Valores inconsistentes com aqueles doMicrosoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.MobileContext.

Consulte também

Referência

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