SP.ViewCreationInformation.setAsDefaultView Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the new list view is the default list view.

var value = SP.ViewCreationInformation.get_setAsDefaultView(); 
SP.ViewCreationInformation.set_setAsDefaultView(value);

Property Value

Type: Boolean

Applies To

SP.ViewCreationInformation Class

See Also

Reference

SP.ViewCreationInformation Methods

SP.ViewCreationInformation Properties

SP Namespace