DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Uploads local image to wiki site. Function also works with non-image files.
Note: uploaded image title (wiki page title) will be the same as title of this Page
object, not the title of source file.
Namespace: DotNetWikiBotAssembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Syntax
C# |
---|
public void UploadImage( string filePathName, string description, string license, string copyStatus, string source ) |
Parameters
- filePathName
- Type: System..::..String
Path and name of local file.
- description
- Type: System..::..String
File (image) description.
- license
- Type: System..::..String
File license type (may be template title). Used only on some wiki sites. Pass empty string, if the wiki site doesn't require it.
- copyStatus
- Type: System..::..String
File (image) copy status. Used only on some wiki sites. Pass empty string, if the wiki site doesn't require it.
- source
- Type: System..::..String
File (image) source. Used only on some wiki sites. Pass empty string, if the wiki site doesn't require it.