Udostępnij przez


DataServiceRequestArgs.AcceptContentType Właściwość

Definicja

Pobiera lub ustawia nagłówek Accept komunikatu żądania.

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

Wartość właściwości

Wartość nagłówka Accept.

Uwagi

Żadna walidacja nie jest wykonywana na wartości AcceptContentType właściwości. Dlatego upewnij się, że dostarczona wartość jest prawidłową wartością nagłówka HTTP Accept.

Dotyczy