FileUploadParameter Class
Visual Studio 2012
Represents a file upload form post parameter.
Object
Microsoft.VisualStudio.TestTools.WebTesting.Parameter
Microsoft.VisualStudio.TestTools.WebTesting.FormPostParameter
Microsoft.VisualStudio.TestTools.WebTesting.FileUploadParameter
Microsoft.VisualStudio.TestTools.WebTesting.Parameter
Microsoft.VisualStudio.TestTools.WebTesting.FormPostParameter
Microsoft.VisualStudio.TestTools.WebTesting.FileUploadParameter
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
The FileUploadParameter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | FileUploadParameter() | Initializes a new instance of the FileUploadParameter class. |
![]() | FileUploadParameter(String, String) | Initializes a new instance of the FileUploadParameter class with values for the inherited Name and UrlEncode properties in addition to the FileName property. |
![]() | FileUploadParameter(String, String, String) | Initializes a new instance of the FileUploadParameter class using the parameter name, file name and the type of content. |
![]() | FileUploadParameter(String, String, String, Boolean) | Initializes a new instance of the FileUploadParameter class using the parameter name, file name, type of content and a boolean value to generate a unique name.. |
| Name | Description | |
|---|---|---|
![]() | ContentType | Gets or sets the content type header. |
![]() | FileName | Gets or sets the file name to upload. |
![]() | FileUploadName | |
![]() | GenerateUniqueName | Gets or sets a Boolean value to indicate whether to generate a unique file name for the uploaded file. |
![]() | Name | Gets or sets the parameter name. (Inherited from Parameter.) |
![]() | UrlEncode | Gets or sets a value that indicates whether the Name and Value will be URL encoded. (Inherited from Parameter.) |
![]() | UseGuids | |
![]() | Value | Gets or sets the string value of the parameter. (Inherited from Parameter.) |
| Name | Description | |
|---|---|---|
![]() | Clone | Performs a MemberwiseClone on this instance. (Overrides FormPostParameter.Clone().) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
