SP.ViewCollection.getByTitle(strTitle) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Gets the list view with the specified title.

var value = SP.ViewCollection.getByTitle(strTitle);

Parameters

strTitle

Type: string

The title of the view to return.

Return Value

Type: SP.View

The list view with the specified title.

Applies To

SP.ViewCollection Class

Remarks

If there is more than one list view with the specified title, the server returns the first one it finds.

See Also

Reference

SP.ViewCollection Methods

SP.ViewCollection Properties

SP Namespace