Share via


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.String

    A string that contains the name of the view.

Property value

Type: Microsoft.SharePoint.SPView
An SPView object that represents the view.

See also

Reference

SPViewCollection class

SPViewCollection members

Item overload

Microsoft.SharePoint namespace