Sets the field's value to a random base64 string value of the specified length.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
C# |
---|
public DefaultFieldRandomStringValueAttribute(
int length,
bool checkCollisions
) |
Visual Basic |
---|
Public Sub New ( _
length As Integer, _
checkCollisions As Boolean _
) |
Visual C++ |
---|
public:
DefaultFieldRandomStringValueAttribute(
int length,
bool checkCollisions
) |
Parameters
- length
- Type: System..::..Int32
The length of a generated random string. Allowed range is [3..22].
- checkCollisions
- Type: System..::..Boolean
When set to 2, the inserted value will be checked for a collision.
See Also