Version

Load(Stream,Boolean,String) Method

Loads style information from the specified stream and registers the library under the specified library name.
Syntax
'Declaration
 
Public Overloads Shared Sub Load( _
   ByVal stream As Stream, _
   ByVal validate As Boolean, _
   ByVal styleLibraryName As String _
) 
public static void Load( 
   Stream stream,
   bool validate,
   string styleLibraryName
)

Parameters

stream
Stream containing the application style information
validate
Boolean indicating whether the file should be validated when read.
styleLibraryName
Name used to identify the library. Controls whose ComponentRole.StyleLibraryName is set to this name will use the library being loaded.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also