Uses user defined fields on the Isonas IdFile to store an email address. It also handles spanning since the fields
are limited to 20 characters and an email address can be longer than that.
Namespace: Bsw.Isonas.Dotnet.Utilities.ExtensionMethodsAssembly: Bsw.Isonas.Dotnet.Utilities (in Bsw.Isonas.Dotnet.Utilities.dll) Version: 1.2.1.0 (1.2.1)
Syntax
Parameters
- idFile
- Type: Bsw.Isonas.Dotnet.Client.Entities IdFile
ID File to add to
- emailAddress
- Type: System String
Email address to store
- indexFromZeroToPutEmailAddressOn (Optional)
- Type: System Int32
Which user defined field index to start with
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IdFile. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Exception | Condition |
---|---|
System ArgumentException | If the email address is longer than 75 characters |
See Also