ContentDispositionHeaderValue 클래스

정의

Content-Disposition 헤더의 값을 나타냅니다.

public ref class ContentDispositionHeaderValue
public ref class ContentDispositionHeaderValue : ICloneable
public class ContentDispositionHeaderValue
public class ContentDispositionHeaderValue : ICloneable
type ContentDispositionHeaderValue = class
type ContentDispositionHeaderValue = class
    interface ICloneable
Public Class ContentDispositionHeaderValue
Public Class ContentDispositionHeaderValue
Implements ICloneable
상속
ContentDispositionHeaderValue
구현

설명

Content-Disposition 헤더는 일반적으로 파일 업로드 및 다운로드 작업에 사용됩니다. 형식은 처리 형식이 있는 단일 헤더이고 그 뒤에 매개 변수 목록이 있고 그 중 일부는 잘 정의되어 있다는 점에서 다른 헤더와 다릅니다.

이 헤더는 두 가지 컨텍스트에서 사용됩니다.

  1. 클래스의 중첩된 본문 콘텐츠에 MultipartFormDataContent 대한 MIME 헤더입니다. 자세한 내용은 IETF RFC 2183을 참조하세요.

  2. 클래스의 HttpContentHeaders HTTP 헤더입니다. 자세한 내용은 IETF RFC 6266을 참조하세요.

생성자

ContentDispositionHeaderValue(ContentDispositionHeaderValue)

ContentDispositionHeaderValue 클래스의 새 인스턴스를 초기화합니다.

ContentDispositionHeaderValue(String)

ContentDispositionHeaderValue 클래스의 새 인스턴스를 초기화합니다.

속성

CreationDate

파일이 만들어진 날짜입니다.

DispositionType

콘텐츠 본문 부분에 대한 처리 형식입니다.

FileName

엔터티가 분리되어 별도의 파일에 저장된 경우 사용할 메시지 페이로드를 저장하기 위한 파일 이름을 생성하는 방법에 대한 제안입니다.

FileNameStar

엔터티가 분리되어 별도의 파일에 저장되는 경우 사용할 메시지 페이로드를 저장하기 위한 파일 이름을 생성하는 방법에 대한 제안입니다.

ModificationDate

파일이 마지막으로 수정된 날짜입니다.

Name

콘텐츠 본문 부분의 이름입니다.

Parameters

매개 변수 집합에 Content-disposition 헤더가 포함됩니다.

ReadDate

파일을 마지막으로 읽은 날짜입니다.

Size

파일의 대략적인 크기(바이트)입니다.

메서드

Equals(Object)

지정한 Object이(가) 현재 ContentDispositionHeaderValue 개체와 같은지 여부를 확인합니다.

GetHashCode()

ContentDispositionHeaderValue 개체의 해시 함수 역할을 수행합니다.

GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
Parse(String)

문자열을 ContentDispositionHeaderValue 인스턴스로 변환합니다.

ToString()

현재 ContentDispositionHeaderValue 개체를 나타내는 문자열을 반환합니다.

TryParse(String, ContentDispositionHeaderValue)

문자열이 유효한 ContentDispositionHeaderValue 정보인지 여부를 결정합니다.

명시적 인터페이스 구현

ICloneable.Clone()

현재 ContentDispositionHeaderValue 인스턴스의 복사본인 새 개체를 만듭니다.

적용 대상