ComponentOne Themes for WinForms
GetThemeName(Stream) Method

C1.Win.C1Themes.4 Assembly > C1.Win.C1Themes Namespace > C1Theme Class > GetThemeName Method : GetThemeName(Stream) Method
The stream containing the theme XML.
Retrieves the name of a theme stored in a stream. This method assumes that stream contains theme in C1ThemeFormat.Xml format.
Syntax
'Declaration
 
Public Overloads Shared Function GetThemeName( _
   ByVal stream As System.IO.Stream _
) As System.String
public static System.string GetThemeName( 
   System.IO.Stream stream
)

Parameters

stream
The stream containing the theme XML.

Return Value

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

Reference

C1Theme Class
C1Theme Members
Overload List