Table of Contents

Method GetMinMaxRangeStr

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetMinMaxRangeStr(TypeCode, string?, object?, object?)

Returns minimal and maximal possible values for the given TypeCode as a range string using specified format.

public static string? GetMinMaxRangeStr(TypeCode code, string? format = null, object? minValue = null, object? maxValue = null)

Parameters

code TypeCode
format string
minValue object
maxValue object

Returns

string

Remarks

For example, if format is "{0}..{1}", result is "0..255".