Partager via


EditorFormatDefinition.CreateResourceDictionaryFromDefinition 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
Protected Overridable Function CreateResourceDictionaryFromDefinition As ResourceDictionary
protected virtual ResourceDictionary CreateResourceDictionaryFromDefinition()
protected:
virtual ResourceDictionary^ CreateResourceDictionaryFromDefinition()
abstract CreateResourceDictionaryFromDefinition : unit -> ResourceDictionary  
override CreateResourceDictionaryFromDefinition : unit -> ResourceDictionary
protected function CreateResourceDictionaryFromDefinition() : ResourceDictionary

Return Value

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

.NET Framework Security

See Also

Reference

EditorFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace