다음을 통해 공유


MimeTypePropertyAttribute 클래스

MediaEntryAttribute로 주석이 추가된 클래스의 속성을 주석으로 지정합니다.

상속 계층

System.Object
  System.Attribute
    System.Data.Services.Client.MimeTypePropertyAttribute

네임스페이스:  System.Data.Services.Client
어셈블리:  Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)

구문

‘선언
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class MimeTypePropertyAttribute _
    Inherits Attribute
‘사용 방법
Dim instance As MimeTypePropertyAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class MimeTypePropertyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = true)]
public ref class MimeTypePropertyAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)>]
type MimeTypePropertyAttribute =  
    class
        inherit Attribute
    end
public final class MimeTypePropertyAttribute extends Attribute

MimeTypePropertyAttribute 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 MimeTypePropertyAttribute MimeTypePropertyAttribute 의 새 인스턴스를 만듭니다.

맨 위로 이동

속성

  이름 설명
공용 속성 DataPropertyName MimeTypePropertyAttribute 의 이름을 가져옵니다.
공용 속성 MimeTypePropertyName MimeTypePropertyAttribute 의 MIME 형식을 가져옵니다.
공용 속성 TypeId (Attribute에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Attribute에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Attribute에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IsDefaultAttribute (Attribute에서 상속됨)
공용 메서드 Match (Attribute에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 _Attribute.GetIDsOfNames (Attribute에서 상속됨)
명시적 인터페이스 구현전용 메서드 _Attribute.GetTypeInfo (Attribute에서 상속됨)
명시적 인터페이스 구현전용 메서드 _Attribute.GetTypeInfoCount (Attribute에서 상속됨)
명시적 인터페이스 구현전용 메서드 _Attribute.Invoke (Attribute에서 상속됨)

맨 위로 이동

주의

MimeTypePropertyAttribute는 MediaEntryAttribute에 지정된 속성과 연결할 MIME 형식을 유지하는 속성의 이름을 사용합니다. 미디어 링크 항목과 연결된 미디어 리소스가 LoadProperty 메서드에 의해 지연 로드되는 경우 지정된 속성이 자동으로 데이터의 MIME 형식으로 설정됩니다.

또한 시스템에서는 이 속성에서 MIME 형식을 읽어 미디어 링크 항목에 대한 POST 요청의 Content-Type 헤더를 설정합니다. 미디어 링크 항목은 이진 데이터 및 메타데이터를 처리하는 AtomPub 프로토콜 구문입니다.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

System.Data.Services.Client 네임스페이스