SPViewFieldCollection members
Represents the collection of fields returned in a view.
The SPViewFieldCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of view fields in the collection. (Overrides SPBaseCollection.Count.) | |
Item | Gets the internal name of the view field at the specified index in the collection. | |
SchemaXml | Gets the schema that specifies the view fields in the collection. | |
View | Gets the parent view for the collection. |
Top
Methods
Name | Description | |
---|---|---|
Add(String) | Adds the field with the specified name to the collection. | |
Add(SPField) | Adds the specified field to the collection. | |
Delete(String) | Deletes the field with the specified name from the collection. | |
Delete(SPField) | Deletes the specified field from the collection. | |
DeleteAll | Deletes all the view fields from the collection. | |
Equals | (Inherited from Object.) | |
Exists | Returns a Boolean value that indicates whether the specified view field exists. | |
Explicit(Int32) | Verifies whether the field at the specified index in the collection is explicitly declared in the view definition. | |
Explicit(String) | Verifies whether the field with the specified name in the collection is explicitly declared in the view definition. | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
MoveFieldTo | Moves the specified field to the specified position in the collection of view fields. | |
MoveFieldTo_Client | Moves a field to a particular position in the collection of view fields and update the view. The first position is 0. | |
ToString | (Inherited from Object.) | |
ToStringCollection | Loads the names of the view fields into a StringCollection object. |
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