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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.