IEditorFormatMap.GetProperties 方法

获取指定键的 ResourceDictionary

命名空间:  Microsoft.VisualStudio.Text.Classification
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
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

参数

  • key
    类型:String

    键。

返回值

类型:ResourceDictionary
表示所提供的 EditorFormatDefinition 中的属性值集合的 ResourceDictionary 对象。

异常

异常 条件
ArgumentNullException

key 为空或 null 的。

.NET Framework 安全性

请参阅

参考

IEditorFormatMap 接口

Microsoft.VisualStudio.Text.Classification 命名空间