WebTestRecorderUtilities.ParseFileUploadFields Method
Parses the file upload information in the request and returns a list of the upload parts.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Shared Function ParseFileUploadFields ( _
request As WebTestRequest _
) As IList(Of String)
public static IList<string> ParseFileUploadFields(
WebTestRequest request
)
public:
static IList<String^>^ ParseFileUploadFields(
WebTestRequest^ request
)
static member ParseFileUploadFields :
request:WebTestRequest -> IList<string>
public static function ParseFileUploadFields(
request : WebTestRequest
) : IList<String>
Parameters
- request
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequest
A WebTestRequest where the content-type header is ContentTypeMultipartFormData.
Return Value
Type: System.Collections.Generic.IList<String>
A list of the upload parts in the request.
.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.
See Also
Reference
WebTestRecorderUtilities Class