Instantiates a file resource if it does not yet exist.
Namespace: CleanCode.IOAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public static string InstantiateResource(
string fileName,
string resourceText
)
Public Shared Function InstantiateResource ( _
fileName As String, _
resourceText As String _
) As String
Public Shared Function InstantiateResource ( _
fileName As String, _
resourceText As String _
) As String
public:
static String^ InstantiateResource(
String^ fileName,
String^ resourceText
)
Parameters
- fileName
- Type: System String
Basename of the file.
- resourceText
- Type: System String
The resource text, retrieved from your application's resource store.
Return Value
Full path and name of the file.
File resources are externalized to a subdirectory of the
Application Data directory,
named after the top-level application.