Export (0) Print
Expand All

SPViewCollection methods

The SPViewCollection type exposes the following members.

  Name Description
Public method Add(String, StringCollection, String, UInt32, Boolean, Boolean) Creates a view in the collection with the specified name, view fields, query, row limit, and Boolean values that specify whether the view displays items page by page and whether it is the default view.
Public method Add(String, StringCollection, String, UInt32, Boolean, Boolean, SPViewCollection.SPViewType, Boolean) Creates a view in the collection with the specified name, view fields, query, row limit, Boolean values specifying whether the view displays items page by page and whether it is the default view, the view type, and a Boolean value specifying whether the view is personal or public.
Public method Add(String, StringCollection, String, String, String, UInt32, Boolean, Boolean, SPViewCollection.SPViewType, Boolean) Creates a view in the collection with the specified name, view fields, query, joins, projected fields, row limit, view type, and Boolean values that specify whether the view displays items page by page, whether it is the default view, and whether the view is personal or public.
Public method Delete Deletes the view with the specified GUID from the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetViewByBaseViewId Returns the first view in the SPViewCollection whose BaseViewID matches baseViewId.
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member SPViewTypeToString Returns a string representation of the specified view type.
Public method Static member StringToSPViewType Returns a view type for the specified string.
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Top
Show:
© 2014 Microsoft