SPContentType SPContentType SPContentType Class

Definition

public ref class SPContentType sealed
[Microsoft.SharePoint.Client.ClientCallableType(DeleteMethodClientName="DeleteObject", EntityKeyPropertyNames="StringId", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="ContentType", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", PatchUpdateMethodClientName="RestUpdate", PutUpdateMethodClientName="RestUpdate", SampleUrl="{apiroot}/web/lists({listid})/contenttypes({contenttypeid})", ServerTypeId="{91b5bd2d-e133-486f-b727-197ce5eb2c0d}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public sealed class SPContentType
Public NotInheritable Class SPContentType
Inheritance
SPContentTypeSPContentTypeSPContentType
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute Microsoft.SharePoint.Client.SubsetCallableTypeAttribute

Constructors

SPContentType(SPContentType, SPContentTypeCollection, String) SPContentType(SPContentType, SPContentTypeCollection, String) SPContentType(SPContentType, SPContentTypeCollection, String)
SPContentType(SPContentTypeId, SPContentTypeCollection, String) SPContentType(SPContentTypeId, SPContentTypeCollection, String) SPContentType(SPContentTypeId, SPContentTypeCollection, String)

Properties

Description Description Description
DescriptionResource DescriptionResource DescriptionResource
DisplayFormTemplateName DisplayFormTemplateName DisplayFormTemplateName
DisplayFormUrl DisplayFormUrl DisplayFormUrl
DocumentTemplate DocumentTemplate DocumentTemplate
DocumentTemplateUrl DocumentTemplateUrl DocumentTemplateUrl
EditFormTemplateName EditFormTemplateName EditFormTemplateName
EditFormUrl EditFormUrl EditFormUrl
EventReceivers EventReceivers EventReceivers
FeatureId FeatureId FeatureId
FieldLinks FieldLinks FieldLinks
Fields Fields Fields
Group Group Group
Hidden Hidden Hidden
Id Id Id
JSLink JSLink JSLink
MobileDisplayFormUrl MobileDisplayFormUrl MobileDisplayFormUrl
MobileEditFormUrl MobileEditFormUrl MobileEditFormUrl
MobileNewFormUrl MobileNewFormUrl MobileNewFormUrl
Name Name Name
NameResource NameResource NameResource
NewDocumentControl NewDocumentControl NewDocumentControl
NewFormTemplateName NewFormTemplateName NewFormTemplateName
NewFormUrl NewFormUrl NewFormUrl
Parent Parent Parent
ParentList ParentList ParentList
ParentWeb ParentWeb ParentWeb
ReadOnly ReadOnly ReadOnly
RequireClientRenderingOnNew RequireClientRenderingOnNew RequireClientRenderingOnNew
ResourceFolder ResourceFolder ResourceFolder
SchemaXml SchemaXml SchemaXml
SchemaXmlWithResourceTokens SchemaXmlWithResourceTokens SchemaXmlWithResourceTokens
Scope Scope Scope
Sealed Sealed Sealed
Version Version Version
WorkflowAssociations WorkflowAssociations WorkflowAssociations
XmlDocuments XmlDocuments XmlDocuments

Methods

AddWorkflowAssociation(SPWorkflowAssociation) AddWorkflowAssociation(SPWorkflowAssociation) AddWorkflowAssociation(SPWorkflowAssociation)
Delete() Delete() Delete()
GetLocalizations(CultureInfo) GetLocalizations(CultureInfo) GetLocalizations(CultureInfo)
RemoveWorkflowAssociation(SPWorkflowAssociation) RemoveWorkflowAssociation(SPWorkflowAssociation) RemoveWorkflowAssociation(SPWorkflowAssociation)
Update() Update() Update()
Update(Boolean) Update(Boolean) Update(Boolean)
Update(Boolean, Boolean) Update(Boolean, Boolean) Update(Boolean, Boolean)
UpdateIncludingSealedAndReadOnly(Boolean) UpdateIncludingSealedAndReadOnly(Boolean) UpdateIncludingSealedAndReadOnly(Boolean)
UpdateWorkflowAssociation(SPWorkflowAssociation) UpdateWorkflowAssociation(SPWorkflowAssociation) UpdateWorkflowAssociation(SPWorkflowAssociation)
UpdateWorkflowAssociationsOnChildren() UpdateWorkflowAssociationsOnChildren() UpdateWorkflowAssociationsOnChildren()
UpdateWorkflowAssociationsOnChildren(Boolean) UpdateWorkflowAssociationsOnChildren(Boolean) UpdateWorkflowAssociationsOnChildren(Boolean)
UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean) UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean) UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean)
UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean, Boolean) UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean, Boolean) UpdateWorkflowAssociationsOnChildren(Boolean, Boolean, Boolean, Boolean)
ValidateName(String) ValidateName(String) ValidateName(String)

Extension Methods

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

Applies to