Share via


PackWebRequest.ContentType 속성

정의

Content-type HTTP 헤더를 가져오거나 설정합니다.

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

속성 값

헤더의 콘텐츠입니다.

설명

팩 URI 프로토콜은 URI(Uniform Resource Identifier) 이외의 요청에서 정보를 처리하지 않습니다. 대부분의 목적(예: POST 정보 유형 확인)에서는 이 속성을 사용할 수 없습니다.

ContentType 는 캐시에서 요청이 확인되면 빈 문자열을 PackageStore 반환합니다.

속성은 ContentType 내부 WebRequest (GetInnerRequest)와 공유됩니다.

적용 대상