Share via


DataServiceRequestArgs.ContentType 속성

정의

요청 메시지의 Content-Type 헤더를 가져오거나 설정합니다.

public:
 property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public string ContentType { get; set; }
member this.ContentType : string with get, set
Public Property ContentType As String

속성 값

Content-Type 헤더의 값입니다.

설명

ContentType 속성 값에 대해서는 유효성 검사가 수행되지 않습니다. 따라서 제공된 값이 HTTP Content-Type 헤더에 대한 유효한 값인지 확인해야 합니다.

적용 대상