SPViewCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of SPView objects.
The SPViewCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of views in the collection. (Overrides SPBaseCollection.Count.) | |
Item[Guid] | Gets the view object with the specified GUID from the collection. | |
Item[Int32] | Gets the view object at the specified index in the collection. | |
Item[String] | Gets the view object with the specified name from the collection. | |
List | Gets the parent list for the view collection. | |
SchemaXml | Gets the complete view schemas for the collection. | |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
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. | |
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. | |
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. | |
Delete | Deletes the view with the specified GUID from the collection. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | (Inherited from SPAutoSerializingObject.) | |
SPViewTypeToString | Returns a string representation of the specified view type. | |
StringToSPViewType | Returns a view type for the specified string. | |
ToString | (Inherited from Object.) | |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top