NetworkWebApiBaseDefaultContentType 属性 |
默认的内容类型,如果为空,则不进行设置操作。例如设置为 "text/plain", "application/json", "text/html" 等等。
The default content type, if it is empty, no setting operation will be performed. For example, set to "text/plain", "application/json", "text/html" and so on.
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public string DefaultContentType { get; set; }
Public Property DefaultContentType As String
Get
Set
public:
property String^ DefaultContentType {
String^ get ();
void set (String^ value);
}
member DefaultContentType : string with get, set
属性值
类型:
String参见