UserActivity.ContentType Property
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.
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
The content type.