Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPViewFieldCollection members

Represents the collection of fields returned in a view.

The SPViewFieldCollection type exposes the following members.

  Name Description
Public property Count Gets the number of view fields in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the internal name of the view field at the specified index in the collection.
Public property SchemaXml Gets the schema that specifies the view fields in the collection.
Public property View Gets the parent view for the collection.
Top

  Name Description
Public method Add(String) Adds the field with the specified name to the collection.
Public method Add(SPField) Adds the specified field to the collection.
Public method Delete(String) Deletes the field with the specified name from the collection.
Public method Delete(SPField) Deletes the specified field from the collection.
Public method DeleteAll Deletes all the view fields from the collection.
Public method Equals (Inherited from Object.)
Public method Exists Returns a Boolean value that indicates whether the specified view field exists.
Public method Explicit(Int32) Verifies whether the field at the specified index in the collection is explicitly declared in the view definition.
Public method Explicit(String) Verifies whether the field with the specified name in the collection is explicitly declared in the view definition.
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.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveFieldTo Moves the specified field to the specified position in the collection of view fields.
Public method MoveFieldTo_Client Moves a field to a particular position in the collection of view fields and update the view. The first position is 0.
Public method ToString (Inherited from Object.)
Public method ToStringCollection Loads the names of the view fields into a StringCollection 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.)
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)
Top
Show:
© 2015 Microsoft