Partager via


FileUploadParameter Class

No content here will be updated; please do not add material here.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.WebTesting.Parameter
    Microsoft.VisualStudio.TestTools.WebTesting.FormPostParameter
      Microsoft.VisualStudio.TestTools.WebTesting.FileUploadParameter

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class FileUploadParameter _
    Inherits FormPostParameter
[SerializableAttribute]
public class FileUploadParameter : FormPostParameter
[SerializableAttribute]
public ref class FileUploadParameter : public FormPostParameter
[<SerializableAttribute>]
type FileUploadParameter =  
    class 
        inherit FormPostParameter 
    end
public class FileUploadParameter extends FormPostParameter

The FileUploadParameter type exposes the following members.

Constructors

  Name Description
Public method FileUploadParameter()
Public method FileUploadParameter(String, String)
Public method FileUploadParameter(String, String, String)
Public method FileUploadParameter(String, String, String, Boolean)

Top

Properties

  Name Description
Public property ContentType
Public property FileName
Public property FileUploadName
Public property GenerateUniqueName
Public property Name Gets or sets the parameter name. (Inherited from Parameter.)
Public property UrlEncode Gets or sets a value that indicates whether the Name and Value will be URL encoded. (Inherited from Parameter.)
Public property UseGuids
Public property Value Gets or sets the string value of the parameter. (Inherited from Parameter.)

Top

Methods

  Name Description
Public method Clone (Overrides FormPostParameter.Clone().)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

No content here will be updated; please do not add material here.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace