It sets a Unique user defined key for each resource in a ResourceDictionary. The key token string is used as the argument for StaticResource markup extension and it is used to retrieve any such resource from another XAML usage.