Sets the field's value to a random base64 string value of the specified length.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

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