Dela via


Theme.LoadFromFile Method

Applies to v2.

Load a theme from a specified file.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Sub LoadFromFile ( _
    fileName As String _
)
'Usage
Dim instance As Theme 
Dim fileName As String

instance.LoadFromFile(fileName)
public void LoadFromFile(
    string fileName
)
public:
virtual void LoadFromFile(
    String^ fileName
) sealed
abstract LoadFromFile : 
        fileName:string -> unit  
override LoadFromFile : 
        fileName:string -> unit
public final function LoadFromFile(
    fileName : String
)

Parameters

  • fileName
    Type: System.String

    The name of the file where the theme is loaded.

Implements

ITheme.LoadFromFile(String)

See Also

Reference

Theme Class

Microsoft.WebMatrix.Extensibility.Editor Namespace