DataServiceStreamLink.ContentType 屬性
取得或設定二進位資源資料流的 MIME Content-Type。
命名空間: System.Data.Services.Client
組件: Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)
語法
'宣告
Public Property ContentType As String
Get
Friend Set
'用途
Dim instance As DataServiceStreamLink
Dim value As String
value = instance.ContentType
public string ContentType { get; internal set; }
public:
property String^ ContentType {
String^ get ();
internal: void set (String^ value);
}
member ContentType : string with get, internal set
function get ContentType () : String
internal function set ContentType (value : String)
屬性值
型別:System.String
資料流的 Content-Type 值。