Version

ImportResources(String,Boolean) Method

Shows an open file dialog to allow importing resources from a library file into the current style library.
Syntax
'Declaration
 
Public Overloads Function ImportResources( _
   ByVal fileName As String, _
   ByVal showFileImportDialog As Boolean _
) As Boolean
public bool ImportResources( 
   string fileName,
   bool showFileImportDialog
)

Parameters

fileName
The default filename of the open file dialog.
showFileImportDialog
Specifies whether to show the file dialog. If false, the file specified by filename will be opened without showing the dialog.

Return Value

Returns true if resources were successfully imported.
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