FileAttribute.ContentType 属性

定义

指定存储或将要存储的文件的内容类型。

public:
 property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember]
public string ContentType { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.ContentType : string with get, set
Public Property ContentType As String

属性值

一个表示内容类型的字符串。

属性

适用于