IEditorFormatMap::SetProperties Method (String^, ResourceDictionary^)
Visual Studio 2015
Sets the ResourceDictionary of a key.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- key
-
Type:
System::String^
The key.
- properties
-
Type:
System.Windows::ResourceDictionary^
The new ResourceDictionary of properties.
Setting the text properties will cause the FormatMappingChanged event to be raised.
If the ResourceDictionary set does not contain the expected properties, the consumer of the properties may throw an exception.
Show: