UserActivity.ContentType Eigenschaft

Definition

Ruft den MIME-Typ (Multipurpose Internet Mail Extensions) des unter UserActivity.ContentUri gespeicherten Inhalts ab und legt diese fest. Beispiel: "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

Eigenschaftswert

String

Platform::String

winrt::hstring

Der Inhaltstyp.

Gilt für: