PowerWEB File Upload for ASP.NET
PostedFile Constructor
See Also  Send comments on this topic.
Dart.FileUpload Namespace > PostedFile Class : PostedFile Constructor



fileName
savedFilePath
tempFilePath
uniqueID
fileSize
bytesUploaded
controlID
controlClientID
Initializes a new instance of the PostedFile control.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal fileName As String, _
   ByVal savedFilePath As String, _
   ByVal tempFilePath As String, _
   ByVal uniqueID As String, _
   ByVal fileSize As Long, _
   ByVal bytesUploaded As Long, _
   ByVal controlID As String, _
   ByVal controlClientID As String _
)
Visual Basic (Usage)Copy Code
Dim fileName As String
Dim savedFilePath As String
Dim tempFilePath As String
Dim uniqueID As String
Dim fileSize As Long
Dim bytesUploaded As Long
Dim controlID As String
Dim controlClientID As String
 
Dim instance As New PostedFile(fileName, savedFilePath, tempFilePath, uniqueID, fileSize, bytesUploaded, controlID, controlClientID)
C# 
public PostedFile( 
   string fileName,
   string savedFilePath,
   string tempFilePath,
   string uniqueID,
   long fileSize,
   long bytesUploaded,
   string controlID,
   string controlClientID
)
C++/CLI 
public:
PostedFile( 
   String^ fileName,
   String^ savedFilePath,
   String^ tempFilePath,
   String^ uniqueID,
   int64 fileSize,
   int64 bytesUploaded,
   String^ controlID,
   String^ controlClientID
)

Parameters

fileName
savedFilePath
tempFilePath
uniqueID
fileSize
bytesUploaded
controlID
controlClientID

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.3
© 2012 Dart Communications. All Rights Reserved.