SPViewCollection.GetViewByBaseViewId method
傳回的第一個檢視中的 BaseViewID 符合 baseViewId 的 SPViewCollection。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetViewByBaseViewId ( _
baseViewId As String _
) As SPView
'用途
Dim instance As SPViewCollection
Dim baseViewId As String
Dim returnValue As SPView
returnValue = instance.GetViewByBaseViewId(baseViewId)
public SPView GetViewByBaseViewId(
string baseViewId
)
參數
baseViewId
Type: System.String若要尋找之檢視的基底檢視識別碼。
傳回值
Type: Microsoft.SharePoint.SPView
SPView 物件,表示其 BaseViewID 符合 baseViewId 集合中的第一個檢視。