共用方式為


DataServiceStreamResponse.ContentDisposition 屬性

取得回應資料流的 Content-Disposition 標頭欄位。

命名空間:  System.Data.Services.Client
組件:  Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)

語法

'宣告
Public ReadOnly Property ContentDisposition As String
    Get
'用途
Dim instance As DataServiceStreamResponse
Dim value As String

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

屬性值

型別:System.String
Content-Disposition 標頭欄位的內容。

備註

當 Content-Disposition 標頭不存在於回應中時,ContentDisposition 屬性會傳回 nullnull 參考 (在 Visual Basic 中為 Nothing)。

請參閱

參考

DataServiceStreamResponse 類別

System.Data.Services.Client 命名空間