SPFieldCollection SPFieldCollection SPFieldCollection SPFieldCollection Class

Definition

public ref class SPFieldCollection : Microsoft::SharePoint::SPBaseCollection
[Microsoft.SharePoint.Client.ClientCallableType(CollectionChildItemType=typeof(Microsoft.SharePoint.SPField), CollectionCreateEntityMethodClientName="Create", CollectionIndexerMethodClientName="GetById", Name="FieldCollection", SampleUrl="{apiroot}/web/lists({listid})/fields", ServerTypeId="{D449D756-E113-4d27-A5E7-609CBC3EBA7E}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public class SPFieldCollection : Microsoft.SharePoint.SPBaseCollection
type SPFieldCollection = class
    inherit SPBaseCollection
Public Class SPFieldCollection
Inherits SPBaseCollection
Inheritance
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute Microsoft.SharePoint.Client.SubsetCallableTypeAttribute

Constructors

SPFieldCollection(SPWeb, String) SPFieldCollection(SPWeb, String) SPFieldCollection(SPWeb, String) SPFieldCollection(SPWeb, String)

Properties

Count Count Count Count
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized Inherited from SPBaseCollection
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot Inherited from SPBaseCollection
Item[Guid] Item[Guid] Item[Guid] Item[Guid]
Item[Int32] Item[Int32] Item[Int32] Item[Int32]
Item[String] Item[String] Item[String] Item[String]
List List List List
SchemaXml SchemaXml SchemaXml SchemaXml
SchemaXmlWithResourceTokens SchemaXmlWithResourceTokens SchemaXmlWithResourceTokens SchemaXmlWithResourceTokens
UpgradedPersistedProperties UpgradedPersistedProperties UpgradedPersistedProperties UpgradedPersistedProperties Inherited from SPAutoSerializingObject
Web Web Web Web

Methods

Add(SPField) Add(SPField) Add(SPField) Add(SPField)
Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean) Add(String, SPFieldType, Boolean)
Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection) Add(String, SPFieldType, Boolean, Boolean, StringCollection)
AddDependentLookup(String, Guid) AddDependentLookup(String, Guid) AddDependentLookup(String, Guid) AddDependentLookup(String, Guid)
AddFieldAsXml(String) AddFieldAsXml(String) AddFieldAsXml(String) AddFieldAsXml(String)
AddFieldAsXml(String, Boolean, SPAddFieldOptions) AddFieldAsXml(String, Boolean, SPAddFieldOptions) AddFieldAsXml(String, Boolean, SPAddFieldOptions) AddFieldAsXml(String, Boolean, SPAddFieldOptions)
AddLookup(String, Guid, Boolean) AddLookup(String, Guid, Boolean) AddLookup(String, Guid, Boolean) AddLookup(String, Guid, Boolean)
AddLookup(String, Guid, Guid, Boolean) AddLookup(String, Guid, Guid, Boolean) AddLookup(String, Guid, Guid, Boolean) AddLookup(String, Guid, Guid, Boolean)
AddSPFieldCreatorDelegate(SPFieldCollection+CreateSPFieldCallback) AddSPFieldCreatorDelegate(SPFieldCollection+CreateSPFieldCallback) AddSPFieldCreatorDelegate(SPFieldCollection+CreateSPFieldCallback) AddSPFieldCreatorDelegate(SPFieldCollection+CreateSPFieldCallback)
Contains(Guid) Contains(Guid) Contains(Guid) Contains(Guid)
ContainsField(String) ContainsField(String) ContainsField(String) ContainsField(String)
ContainsFieldWithStaticName(String) ContainsFieldWithStaticName(String) ContainsFieldWithStaticName(String) ContainsFieldWithStaticName(String)
CreateNewField(String, String) CreateNewField(String, String) CreateNewField(String, String) CreateNewField(String, String)
Delete(String) Delete(String) Delete(String) Delete(String)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator() Inherited from SPBaseCollection
GetField(String) GetField(String) GetField(String) GetField(String)
GetFieldByInternalName(String) GetFieldByInternalName(String) GetFieldByInternalName(String) GetFieldByInternalName(String)
GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from SPAutoSerializingObject
GetTypedEnumerator<T>() GetTypedEnumerator<T>() GetTypedEnumerator<T>() GetTypedEnumerator<T>() Inherited from SPBaseCollection
OnDeserialization() OnDeserialization() OnDeserialization() OnDeserialization() Inherited from SPAutoSerializingObject
TryGetFieldByStaticName(String) TryGetFieldByStaticName(String) TryGetFieldByStaticName(String) TryGetFieldByStaticName(String)
UpdateParent() UpdateParent() UpdateParent() UpdateParent() Inherited from SPAutoSerializingObject

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) Inherited from SPBaseCollection

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object) ToJson(Object)

Applies to