FileUploadParameter.FileName Property
Gets or sets the file name to upload.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property FileName As String
public string FileName { get; set; }
public:
property String^ FileName {
String^ get ();
void set (String^ value);
}
member FileName : string with get, set
function get FileName () : String
function set FileName (value : String)
Property Value
Type: System.String
The file name to upload.
Remarks
The FileName is relative to the deployment directory. You must add this file as a deployment item using the DeploymentItemAttribute. If the test is run on the local computer, FileName can be specified with an absolute path.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.