WebPartMobileAdapter.MobilePage 属性

获取一个对象,表示当前页上,如果页面是一个WebPartMobilePage对象。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected ReadOnly Property MobilePage As WebPartMobilePage
    Get
用法
Dim value As WebPartMobilePage

value = Me.MobilePage
protected WebPartMobilePage MobilePage { get; }

属性值

类型:Microsoft.SharePoint.WebPartPages.WebPartMobilePage
代表当前页WebPartMobilePage 。如果当前页不属于类型WebPartMobilePage,这是空引用(无 在 Visual Basic 中) 。

备注

此属性可用于测试当前页是否WebPartMobilePage

另请参阅

引用

WebPartMobileAdapter 类

WebPartMobileAdapter 成员

Microsoft.SharePoint.WebPartPages 命名空间