BinaryData.WithMediaType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a BinaryData instance by wrapping the same data and changed MediaType to <see pref="mediaType"></see> value.
public:
BinaryData ^ WithMediaType(System::String ^ mediaType);
public BinaryData WithMediaType(string? mediaType);
member this.WithMediaType : string -> BinaryData
Public Function WithMediaType (mediaType As String) As BinaryData
Parameters
- mediaType
- String
Returns
A wrapper over the same data with specified MediaType.