PackageProperties.ContentType 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,获取或设置一个值,该值表示包含在 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, setPublic MustOverride Property ContentType As String属性值
包含在 Package 中的内容的类型。
注解
示例 ContentType 值包括“白皮书”、“安全公告”和“考试”。
此属性 ContentType 不同于 RFC 2616 中定义的多用途 Internet 邮件扩展 (MIME) 内容类型。