共用方式為


SPList.GetUncustomizedViewByBaseViewId Method

Gets the view object that is associated with the specified base view identifier (ID).

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

Syntax

'Declaration
Public Function GetUncustomizedViewByBaseViewId ( _
    baseViewId As Integer _
) As SPView
'Usage
Dim instance As SPList
Dim baseViewId As Integer
Dim returnValue As SPView

returnValue = instance.GetUncustomizedViewByBaseViewId(baseViewId)
public SPView GetUncustomizedViewByBaseViewId(
    int baseViewId
)

Parameters

  • baseViewId
    Type: System.Int32

    The ID for the base view of the list.

Return Value

Type: Microsoft.SharePoint.SPView
The specified view.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace