ComponentOne Themes for WinForms
GetThemeName(String) Method

C1.Win.C1Themes.4 Assembly > C1.Win.C1Themes Namespace > C1Theme Class > GetThemeName Method : GetThemeName(String) Method
The file containing the theme XML.
Retrieves the name of a theme stored in a stream. The theme format determined on the base of the file extension.
Syntax
'Declaration
 
Public Overloads Shared Function GetThemeName( _
   ByVal fileName As System.String _
) As System.String
public static System.string GetThemeName( 
   System.string fileName
)

Parameters

fileName
The file containing the theme XML.

Return Value

The name of the theme, or null if no theme could be found in the file.
See Also

Reference

C1Theme Class
C1Theme Members
Overload List