Share via


IEditorFormatMap.GetProperties Method

Gets a ResourceDictionary for the specified key.

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

Parameters

  • key
    Type: String

    The key.

Return Value

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

Exceptions

Exception Condition
ArgumentNullException

key is empty or null.

.NET Framework Security

See Also

Reference

IEditorFormatMap Interface

Microsoft.VisualStudio.Text.Classification Namespace