Share via


HostedFileContent.MediaType Property

Definition

Gets or sets an optional media type (also known as MIME type) associated with the file.

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

Property Value

Exceptions

value represents an invalid media type.

Applies to