IEditorFormatMap::SetProperties Method (String^, ResourceDictionary^)

 

Sets the ResourceDictionary of a key.

Namespace:   Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

void SetProperties(
	String^ key,
	ResourceDictionary^ properties
)

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.

 

Return to top
Show: