共用方式為


SPMobileContext.View Property

Gets the current mobile view of the list that contains the current list item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Property View As SPView
    Get
    Set
'Usage
Dim instance As SPMobileContext
Dim value As SPView

value = instance.View

instance.View = value
public virtual SPView View { get; set; }

Property Value

Type: Microsoft.SharePoint.SPView
An SPView that represents a valid mobile view of the list.

Remarks

The default implementation tries to obtain the view from ViewId. It that is not possible, it returns the current mobile view of the parent list.

See Also

Reference

SPMobileContext Class

SPMobileContext Members

Microsoft.SharePoint Namespace