ContentResult.ContentType 속성

정의

를 사용하여 MediaTypeHeaderValue처리할 수 있는 응답의 Content-Type 헤더를 가져오거나 설정합니다.

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

속성 값

적용 대상