GetThemeName Method


Gets the theme name for the given theme type.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
public static string GetThemeName(
	UITheme frameTheme
)
Visual Basic
Public Shared Function GetThemeName ( _
	frameTheme As UITheme _
) As String
Visual C++
public:
static String^ GetThemeName(
	UITheme frameTheme
)

Parameters

frameTheme
Type: Autodesk.Revit.UI UITheme
The theme.

Return Value

The name of the theme.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also