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: Boolean
true if a unique name must be generated for the uploaded file; otherwise false.
.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.