Returns a Int32 that represent a value of the specified field.
Namespace:
Aurigma.ImageUploader
Assembly:
Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
Public Shared Function GetIntValue ( _ fields As NameValueCollection, _ name As String _ ) As Integer
public static int GetIntValue( NameValueCollection fields, string name )
Type: System.Collections.Specialized.NameValueCollection
The collection of POST fields returned by the Package.PackageFields property.
Type: System.String
The name of the field to retrieve a value.
Type: System.Int32
The Int32 representation of the specified field value.
If the value cannot be converted to Int32, this method returns 0
.