Public Member Functions | List of all members
FormData Class Reference

Inherits ScriptObject.

Public Member Functions

 FormData ()
 
 append (String name, String value, String filename)
 
Boolean has (String name)
 
String get (String name)
 

Detailed Description

FormData for use with XMLHttpRequest.

Since
41366

Constructor & Destructor Documentation

◆ FormData()

FormData ( )

Constructs a new FormData object.

Member Function Documentation

◆ append()

append ( String  name,
String  value,
String  filename 
)

Append new value.

Parameters
nameThe key.
valueThe value.
filenameThe filename.

◆ get()

String get ( String  name)

Returns the value for the given key. Returns empty if key doesn't exist.

Parameters
nameThe key of the data.

◆ has()

Boolean has ( String  name)

Returns true if the given key exists.

Parameters
nameThe key of the data.


Generated by Autodesk, Inc. 19 April 2024
Copyright (c) 2012-2024 by Autodesk, Inc.