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

屬性值

一個代表內容類型的字串。

屬性

適用於