Udostępnij za pośrednictwem


UserActivity.ContentType Property

Definition

Gets and sets the MIME (Multipurpose Internet Mail Extensions) type of the content stored at UserActivity.ContentUri. For example, "text/plain".

public:
 property Platform::String ^ ContentType { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring ContentType();

void ContentType(winrt::hstring value);
public string ContentType { get; set; }
var string = userActivity.contentType;
userActivity.contentType = string;
Public Property ContentType As String

Property Value

String

Platform::String

winrt::hstring

The content type.

Applies to