---
title: "PostFields..::.GetIntValue Method  ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_M_Aurigma_ImageUploader_PostFields_GetIntValue_2_0337fc94.htm
archived: false
---

# PostFields.GetIntValue Method ActiveX/Java Uploader ASP.NET
 
Returns a [Int32](http://msdn2.microsoft.com/en-us/library/td2s409d) that represent a value of the specified field.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public static int GetIntValue(NameValueCollection fields,string name
)
```
 
### Parameters
 
 - fields
     - Type: [System.Collections.Specialized..NameValueCollection](http://msdn2.microsoft.com/en-us/library/689y5thy)
 
The collection of POST fields returned by the [Package.PackageFields](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Package_PackageFields.htm.md) property.

 - name
     - Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
 
The name of the field to retrieve a value.
 
### Return Value
 
Type: [System..Int32](http://msdn2.microsoft.com/en-us/library/td2s409d)
 
The [Int32](http://msdn2.microsoft.com/en-us/library/td2s409d) representation of the specified field value.
 
**Note** 
If the value cannot be converted to [Int32](http://msdn2.microsoft.com/en-us/library/td2s409d), this method returns `0`.
   
## See Also

### Reference

- [PostFields Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_PostFields.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
