SP.ViewCollection.getById(guidId) Method

Applies to: SharePoint Foundation 2010

Gets the list view with the specified ID.

var value = SP.ViewCollection.getById(guidId);

Parameters

guidId

Type: SP.Guid

The ID of the view to return.

Return Value

Type: SP.View

The list view with the specified ID.

Applies To

SP.ViewCollection Class

See Also

Reference

SP.ViewCollection Methods

SP.ViewCollection Properties

SP Namespace