ComponentOne Themes for WinForms
GetThemeName(Stream,C1ThemeFormat) Method

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

Parameters

stream
The stream containing the theme XML.
format
The document persistence format to use.

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