EditorFormatDefinition.CreateResourceDictionary Method

Creates a ResourceDictionary from this definition.

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

Syntax

'Declaration
Public Function CreateResourceDictionary As ResourceDictionary
public ResourceDictionary CreateResourceDictionary()
public:
ResourceDictionary^ CreateResourceDictionary()
member CreateResourceDictionary : unit -> ResourceDictionary
public function CreateResourceDictionary() : ResourceDictionary

Return Value

Type: System.Windows.ResourceDictionary
A ResourceDictionary with the values from this definition.

.NET Framework Security

See Also

Reference

EditorFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace