Dela via


UserActivityAttribution.AddImageQuery Property

Definition

Get or set whether to allow Windows to append a query string to the image URI supplied from IconUri when retrieving the image. The query string includes information that can be used to choose the ideal image based on the DPI of the display, the high contrast setting, and the user's language.

public:
 property bool AddImageQuery { bool get(); void set(bool value); };
bool AddImageQuery();

void AddImageQuery(bool value);
public bool AddImageQuery { get; set; }
var boolean = userActivityAttribution.addImageQuery;
userActivityAttribution.addImageQuery = boolean;
Public Property AddImageQuery As Boolean

Property Value

Boolean

bool

true to allow windows to append a query string to the image URI; false otherwise.

Remarks

Set to true if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string. This query string specifies scale, contrast setting, and language; for instance, an IconUri value of www.website.com/images/hello.png becomes www.website.com/images/hello.png?ms-scale=100&ms-contrast=standard&ms-lang=en-us.

Applies to