DEXTUpload.NET
Class MultipartCollection
- The minimum supported version
- 5.0.0.0
- The minimum support environment
- .NET Framework 4.0
- Explanation
-
The "DEXTUpload.NET.FileUploadMonitorModule" module object creates a "MultipartCollection" object to be easy to classify the files and character string data after analyzing the multipart request and creating temporary files.
The "MultipartCollection" class is not necessary to create as an instance directly by user.
- Type
-
public class MultipartCollection
- Properties
-
FormElements
-
Gets the "List<DEXTUpload.NET.FormElement>" list object that has registered each form element of the multi-part data in order.
The "DEXTUpload.NET.FormElement" is a class that it containes a string element or a file element of the form.
-
Type
public List<FormElement> FormElements { get; }
StringElements
-
Gets the "DEXTUpload.NET.StringElementList" list object that has registered each string element of the multi-part data in order.
-
Type
public StringElementList StringElements { get; }
FileElements
-
Gets the "DEXTUpload.NET.FileElementList" list object that has registered each file element of the multi-part data in order.
-
Type
public FileElementList FileElements { get; }
StringGroup
-
Gets the "Dictionary<string, StringElementList>" object that has registered string elements classified with name(key) in order.
-
Type
public Dictionary<string, StringElementList> StringGroup { get; }
FileGroup
-
Gets the "Dictionary<string, FileElementList>" object that has registered file elements classified with name(key) in order.
-
Type
public Dictionary<string, FileElementList> FileGroup { get; }
-
- Methods
-
ContainsKey
- >Returns whether or not there is a form element with the specified name(key).
-
Type
public bool ContainsKey(string key)
-
Parameters
Name Type Explanation key System.String The name(key) of the form. -
Return
If it exists, it is "true", otherwise, "false".
ContainsStringKey
- Returns whether or not there is the string form element with the specified name(key).
-
Type
public bool ContainsStringKey(string key)
-
Parameters
Name Type Explanation key System.String The name(key) of the form. -
Return
If it exists, it is "true", otherwise, "false".
ContainsFileKey
- Returns whether or not there is the file form element with the specified name(key).
-
Type
public bool ContainsFileKey(string key)
-
Parameters
Name Type Explanation key System.String The name(key) of the form -
Return
If it exists, it is "true", otherwise, "false".
GetStringElement
-
Returns the "DEXTUpload.NET.StringElement" object corresponding to the specified index or name(key).
-
Type
public StringElement GetStringElement(int index) public StringElement GetStringElement(string key)
-
Parameters
Name Type Explanation index System.Int32 The zero-based index. key System.String The name(key). -
Return
The "DEXTUpload.NET.StringElement's" object corresponding to the specified index or name(key).
If the parameter is the name(key), it returns the first object corresponding to the name.
GetFileElement
-
Returns the "DEXTUpload.NET.FileElement" object corresponding to the specified index or name(key).
-
Type
public FileElement GetFileElement(int index) public FileElement GetFileElement(string key)
-
Parameters
Name Type Explanation index System.Int32 The zero-based index. key System.String The name(key). -
Return
The "DEXTUpload.NET.FileElement" object corresponding to the specified index or name.
If the parameter is a name, it returns the first object that corresponds to the name.