获取或设置内容的媒体类型。
命名空间: Microsoft.Data.OData
程序集: Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)
语法
声明
Public Property ContentType As String
Get
Set
用法
Dim instance As ODataStreamReferenceValue
Dim value As String
value = instance.ContentType
instance.ContentType = value
public string ContentType { get; set; }
public:
property String^ ContentType {
String^ get ();
void set (String^ value);
}
member ContentType : string with get, set
function get ContentType () : String
function set ContentType (value : String)
属性值
类型:System.String
内容的媒体类型。