PackageProperties.ContentType Property

Definition

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.

Applies to

See also