Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the first view in the SPViewCollection whose BaseViewID matches baseViewId.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetViewByBaseViewId ( _
baseViewId As String _
) As SPView
'Usage
Dim instance As SPViewCollection
Dim baseViewId As String
Dim returnValue As SPView
returnValue = instance.GetViewByBaseViewId(baseViewId)
public SPView GetViewByBaseViewId(
string baseViewId
)
Parameters
baseViewId
Type: System.StringThe ID of the base view for the view to find.
Return value
Type: Microsoft.SharePoint.SPView
An SPView object that represents the first view in the collection whose BaseViewID matches baseViewId.