The Content-Type entity-header field indicates the media type of the entity-body sent to the recipient or, in the case of the HEAD method, the media type that would have been sent had the.
Pokemon omega ruby nuzlocke the4thgengamer. Over the past few months, I’ve been surprised by the number of people I’ve spoken with who were not aware that it’s possible to store custom XML documents against content type objects through the API. These are people who have either been developing of providing consultation for the platform since, at least, the release of MOSS 2007. So, for that reason, I’ve decided to write a short post about the functionality. The class contains a property called. This property exposes a collection of XML documents that are stored against the content type. Although there can be a number of XML documents in this collection, it is also possible to add your own XML documents to the collection.
Adding your own XML document to this property allows you, as a developer, to store custom configurations against individual content types, whether that be against the site content type, or a child version defined within a list or library. Say, for instance, you created an XML document to define a unique name for any item created against it. By creating an application page to allow administrators to specify a naming convention for new items, you are able to control how new documents are named and be able to change the logic by simply updating it via the custom application page. When you implement the logic to generate a new document’s (or item’s) name, you would simply read the XML document from the XmlDocuments property of the content type that the item belongs to and apply your custom logic. Lets have a look at an example of what the custom XML document class could look like.