SPViewCollection.Item property (String)
Gets the view object with the specified name from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
strTitle As String _
) As SPView
Get
'Usage
Dim instance As SPViewCollection
Dim strTitle As String
Dim value As SPView
value = instance(strTitle)
public SPView this[
string strTitle
] { get; }
Parameters
strTitle
Type: System.StringA string that contains the name of the view.
Property value
Type: Microsoft.SharePoint.SPView
An SPView object that represents the view.