Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

Tile.Update

Предложить изменения

Успех!

Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.

Закрыть

Ошибка внесения изменений

По определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.

Закрыть

Отменить

Руководство
public function Update(xml: string): void;
public void Update(string xml);
public function Update(medium: string, wide: string, large: string, text: string): void;
public void Update(string medium, string wide, string large, string text);

Параметры

xml A string containing XML document for new tile look.
medium An uri to 150x150 image, shown on medium tile.
wide An uri to a 310x150 image to be shown on a wide tile (if such issupported).
large An uri to a 310x310 image to be shown on a large tile (if such is supported).
text A text to shown on a tile.

Описание

Send a notification for tile (update tiles look).

A tile is updated by providing and XML document with new look. The second version is a convenience method to make tile display image, text or both. At least one of medium and text argumets must be provided, and these two are used to determine whether this is image-only, text-only or image-and-text tile. Uris ms-appx:/// and ms-appdata://local can be used to access local application resources. If uri points to network resource, internet access capability must be enabled in applications manifest.