Share via


BackgroundTransferContentPart.SetHeader(String, String) Method

Definition

Sets content disposition header values that indicate the nature of the information that this BackgroundTransferContentPart represents.

public:
 virtual void SetHeader(Platform::String ^ headerName, Platform::String ^ headerValue) = SetHeader;
void SetHeader(winrt::hstring const& headerName, winrt::hstring const& headerValue);
public void SetHeader(string headerName, string headerValue);
function setHeader(headerName, headerValue)
Public Sub SetHeader (headerName As String, headerValue As String)

Parameters

headerName
String

Platform::String

winrt::hstring

The header name.

headerValue
String

Platform::String

winrt::hstring

The header value.

Applies to