Udostępnij za pośrednictwem


SPMobileComponent.ViewId Property

Gets or sets the GUID of the current view.

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

Syntax

'Declaration
Public Overridable Property ViewId As Guid
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As Guid

value = instance.ViewId

instance.ViewId = value
public virtual Guid ViewId { get; set; }

Property Value

Type: System.Guid
A Guid that serves as the ID of the current view.

Remarks

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

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace