次の方法で共有


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

'宣言
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

Return Value

Type: System.Windows.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