다음을 통해 공유


DataServiceStreamResponse.ContentType 속성

응답 스트림의 콘텐츠 형식을 가져옵니다.

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

구문

‘선언
Public ReadOnly Property ContentType As String
    Get
‘사용 방법
Dim instance As DataServiceStreamResponse
Dim value As String

value = instance.ContentType
public string ContentType { get; }
public:
property String^ ContentType {
    String^ get ();
}
member ContentType : string
function get ContentType () : String

속성 값

유형: System.String
응답 스트림의 콘텐츠 형식입니다.

주의

Content-Type 헤더가 응답에 없는 경우 ContentDisposition 속성은 nullnull 참조(Visual Basic에서는 Nothing)을 반환합니다.

참고 항목

참조

DataServiceStreamResponse 클래스

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