GeneratorUtilsGetRealMaxLength Method |
Gets the real length for the type specified, if the specified length is 0. This only affects string and array types, all other types are ignored
Namespace:
SD.LLBLGen.Pro.GeneratorCore
Assembly:
SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax public static int GetRealMaxLength(
int specifiedLength,
Type type
)
Public Shared Function GetRealMaxLength (
specifiedLength As Integer,
type As Type
) As Integer
Parameters
- specifiedLength
- Type: SystemInt32
The specified length. - type
- Type: SystemType
The type.
Return Value
Type:
Int32See Also