PackageProperties.ContentType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets or sets a value that represents the type of content that is contained in the Package.
public:
abstract property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public abstract string? ContentType { get; set; }
public abstract string ContentType { get; set; }
member this.ContentType : string with get, set
Public MustOverride Property ContentType As String
Property Value
The type of content that is contained in the Package.
Remarks
Example ContentType values include "Whitepaper", "Security Bulletin", and "Exam".
This ContentType property is distinct from Multipurpose Internet Mail Extensions (MIME) content types as defined in RFC 2616.