Sdílet prostřednictvím


IEditorFormatMap.SetProperties(String, ResourceDictionary) Method

Definition

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.

Applies to