Freigeben über


IEditorFormatMap.GetProperties-Methode

Ruft ein ResourceDictionary für den angegebenen Schlüssel ab.

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

Syntax

'Declaration
Function GetProperties ( _
    key As String _
) As ResourceDictionary
ResourceDictionary GetProperties(
    string key
)
ResourceDictionary^ GetProperties(
    String^ key
)
abstract GetProperties : 
        key:string -> ResourceDictionary
function GetProperties(
    key : String
) : ResourceDictionary

Parameter

  • key
    Typ: String

    Der Schlüssel.

Rückgabewert

Typ: ResourceDictionary
Das ResourceDictionary-Objekt, das den Satz von Eigenschaftenbeiträgen aus der bereitgestellten EditorFormatDefinition darstellt.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

key ist leer oder NULL.

.NET Framework-Sicherheit

Siehe auch

Referenz

IEditorFormatMap Schnittstelle

Microsoft.VisualStudio.Text.Classification-Namespace