SPContentTypeCollection SPContentTypeCollection SPContentTypeCollection SPContentTypeCollection Class

Definition

public ref class SPContentTypeCollection sealed : Microsoft::SharePoint::SPBaseCollection
[Microsoft.SharePoint.Client.ClientCallableType(CollectionChildItemType=typeof(Microsoft.SharePoint.SPContentType), CollectionCreateEntityMethodClientName="Create", CollectionIndexerMethodClientName="GetById", Name="ContentTypeCollection", SampleUrl="{apiroot}/web/lists({listid})/contenttypes", ServerTypeId="{653e9412-6245-4a3f-829b-cfdbf7fd86a5}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public sealed class SPContentTypeCollection : Microsoft.SharePoint.SPBaseCollection
type SPContentTypeCollection = class
    inherit SPBaseCollection
Public NotInheritable Class SPContentTypeCollection
Inherits SPBaseCollection
Inheritance
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute Microsoft.SharePoint.Client.SubsetCallableTypeAttribute

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[Int32] Item[Int32] Item[Int32] Item[Int32]
Item[SPContentTypeId] Item[SPContentTypeId] Item[SPContentTypeId] Item[SPContentTypeId]
Item[String] Item[String] Item[String] Item[String]
UpgradedPersistedProperties UpgradedPersistedProperties UpgradedPersistedProperties UpgradedPersistedProperties Inherited from SPAutoSerializingObject

Methods

Add(SPContentType) Add(SPContentType) Add(SPContentType) Add(SPContentType)
BestMatch(SPContentTypeId) BestMatch(SPContentTypeId) BestMatch(SPContentTypeId) BestMatch(SPContentTypeId)
Delete(SPContentTypeId) Delete(SPContentTypeId) Delete(SPContentTypeId) Delete(SPContentTypeId)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator() Inherited from SPBaseCollection
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
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