获取或设置二进制资源流的 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 值。