Udostępnij za pośrednictwem


SPMobileComponent.View Property

Gets or sets the current view for the SPMobileComponent when it represents a list.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable Property View As SPView
    Get
    Set
'Usage
Dim instance As SPMobileComponent
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 the current view of the list represented by the SPMobileComponent.

Remarks

In the default implementation, when SPMobileComponent represents a field or some other entity that is not a list view, View is the current view. If there is no current view, View is the value of the parent control's View property.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace