Method ImportResource
ImportResource(string, bool)
Imports a file into the current catalog as a resource.
Declaration
public void ImportResource(string resourceFilename, bool ifNewerOnly)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceFilename | Filename of the resource to import. |
| bool | ifNewerOnly | Indicates whether the import should be skipped if the resource with the same name exists and is newer than the imported file. |
Remarks
The resource will be visible in the Resources table and will have the name of the original file (without path).