Visual Basic (Declaration) | |
---|---|
Public Property TempDirectory As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string TempDirectory {get; set;} |
This examples demonstrate different ways of accessing the same folder: 'c:/inetpub/wwwroot/app/tmp' when the applications is located in ...wwwroot/app. when started with '/' the folder resets to c:/inetpub/wwwroot/.
C# | Copy Code |
---|---|
Chart.TempDirectory = "c://inetpub/wwwroot/app/tmp"; |
Visual Basic | Copy Code |
---|---|
Chart.TempDirectory = "c://inetpub/wwwroot/app/tmp" |
This property takes either an absolute path 'c:/inetpub/wwwroot/app/tmp', a relative path ('tmp', '../tmp',) or when started with '/' a relative path from c:/inetpub/wwwroot/ ('/app/tmp).