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: System.String
The key.
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
- 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.