IEditorFormatMap.SetProperties(String, ResourceDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the ResourceDictionary of a key.
public:
void SetProperties(System::String ^ key, System::Windows::ResourceDictionary ^ properties);
public void SetProperties (string key, System.Windows.ResourceDictionary properties);
abstract member SetProperties : string * System.Windows.ResourceDictionary -> unit
Public Sub SetProperties (key As String, properties As ResourceDictionary)
Parameters
- key
- String
The key.
- properties
- ResourceDictionary
The new ResourceDictionary of properties.
Remarks
Setting 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.