共用方式為


IEditorFormatMap.GetProperties(String) Method

Definition

Gets a ResourceDictionary for the specified key.

public:
 System::Windows::ResourceDictionary ^ GetProperties(System::String ^ key);
public System.Windows.ResourceDictionary GetProperties (string key);
abstract member GetProperties : string -> System.Windows.ResourceDictionary
Public Function GetProperties (key As String) As ResourceDictionary

Parameters

key
String

The key.

Returns

The ResourceDictionary object that represents the set of property contributions from the provided EditorFormatDefinition.

Exceptions

key is empty or null.

Applies to