SPContentType Properties
The SPContentType type exposes the following members.
| Name | Description | |
|---|---|---|
|
Description | Gets or sets a string that contains a description of the content type. |
|
DescriptionResource | Gets or sets a user-defined localizable resource that represents the content type description. |
|
DisplayFormTemplateName | Gets or sets the name of a custom Display form template to use for items assigned this content type. |
|
DisplayFormUrl | Gets or set the URL of a custom Display form page to use for items assigned this content type. |
|
DocumentTemplate | Gets or sets the document template for the content type. |
|
DocumentTemplateUrl | Gets or sets the URL to the content type’s document template. |
|
EditFormTemplateName | Gets or sets the name of a custom Edit form template to use for items assigned this content type. |
|
EditFormUrl | Gets or set the URL of a custom Edit form page to use for items assigned this content type. |
|
EventReceivers | Gets the collection of event receiver definitions for the content type. |
|
FeatureId | Gets the identifier of the Feature that created the content type. |
|
FieldLinks | Gets an SPFieldLinkCollection that represents the collection of column, or field, references in the content type. |
|
Fields | Gets an SPFieldCollection that represents collection of column references included in the content type. |
|
Group | Gets and sets the content type group to which the content type is assigned. |
|
Hidden | Gets or sets whether the content type is hidden on the list’s New menu. |
|
Id | Gets an SPContentTypeId object that represents the content type identifier (ID) of the content type. |
|
MobileDisplayFormUrl | Gets or set the URL of a custom mobile Display form page to use for items assigned this content type. |
|
MobileEditFormUrl | Gets or set the URL of a custom mobile Edit form page to use for items assigned this content type. |
|
MobileNewFormUrl | Gets or set the URL of a custom mobile New form page to use for items assigned this content type. |
|
Name | Gets or sets the content type name. |
|
NameResource | Gets an SPUserResource object that represents the translations of the name of the content type. |
|
NewDocumentControl | Gets or sets a string that identifies the application used to create new documents. |
|
NewFormTemplateName | Gets or sets the name of a custom New form template to use for items assigned this content type. |
|
NewFormUrl | Gets or set the URL of a custom New form page to use for items assigned this content type. |
|
Parent | Gets the parent content type of this content type. |
|
ParentList | Gets an SPList object that represents the list in which this SPContentType object resides. |
|
ParentWeb | Gets the parent Web site for the content type. |
|
ReadOnly | Gets or sets whether the content type is read-only. |
|
RequireClientRenderingOnNew | Indicates whether the client is responsible for rendering a new document when it is created. |
|
ResourceFolder | Gets the content type's resource folder. |
|
SchemaXml | Gets the XML schema that defines the content type. |
|
SchemaXmlWithResourceTokens | Gets a non-localized version of the XML schema that defines the content type. |
|
Scope | Gets a server-relative URL for the highest level within the scope of a particular content type. |
|
Sealed | Gets or sets whether the content type can be modified. |
|
Version | Gets the version of the content type. |
|
WorkflowAssociations | Gets an SPWorkflowAssociationCollection object that represents the workflow associations for this content type. |
|
XmlDocuments | Gets an SPXmlDocumentCollection that represents the XML documents that are stored within the content type. |