Dela via


FileUploadParameter.GenerateUniqueName Property

Gets or sets a Boolean value to indicate whether to generate a unique file name for the uploaded file.

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

Syntax

'Declaration
Public Property GenerateUniqueName As Boolean
public bool GenerateUniqueName { get; set; }
public:
property bool GenerateUniqueName {
    bool get ();
    void set (bool value);
}
member GenerateUniqueName : bool with get, set
function get GenerateUniqueName () : boolean
function set GenerateUniqueName (value : boolean)

Property Value

Type: System.Boolean
true if a unique name must be generated for the uploaded file; otherwise false.

.NET Framework Security

See Also

Reference

FileUploadParameter Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace