共用方式為


SPViewCollection.Item property (String)

從集合中取得具有指定名稱的檢視物件。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    strTitle As String _
) As SPView
    Get
'用途
Dim instance As SPViewCollection
Dim strTitle As String
Dim value As SPView

value = instance(strTitle)
public SPView this[
    string strTitle
] { get; }

參數

Property value

Type: Microsoft.SharePoint.SPView
SPView 物件,表示檢視表。

請參閱

參照

SPViewCollection class

SPViewCollection members

Item overload

Microsoft.SharePoint namespace