Share via


TileUpdater.Update(TileNotification) Method

Definition

Applies a change in content or appearance to the tile.

public:
 virtual void Update(TileNotification ^ notification) = Update;
void Update(TileNotification const& notification);
public void Update(TileNotification notification);
function update(notification)
Public Sub Update (notification As TileNotification)

Parameters

notification
TileNotification

The object that supplies the new XML definition for the tile's content.

Examples

The following example shows Update used to send a notification to the app's tile.

```csharp
var tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileWide310x150Text03);
var tileAttributes = tileXml.GetElementsByTagName("text");
tileAttributes[0].AppendChild(tileXml.CreateTextNode("Hello World!"));

var tileNotification = new TileNotification(tileXml);
TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification);
```

Applies to

See also