TimeSpanValidatorAttribute.TimeSpanMaxValue 字段

定义

获取允许的绝对最大值。Gets the absolute maximum value allowed.

public: System::String ^ TimeSpanMaxValue;
public const string TimeSpanMaxValue;
val mutable TimeSpanMaxValue : string
Public Const TimeSpanMaxValue As String 

字段值

String

示例

下面的示例演示如何使用 TimeSpanMaxValue 字段。The following example shows how to use the TimeSpanMaxValue field.

string absoluteMax =
    TimeSpanValidatorAttribute.TimeSpanMaxValue;
Dim absoluteMax As String = _
TimeSpanValidatorAttribute.TimeSpanMaxValue

注解

包含时间间隔允许的最大值的字符串。The string that contains the maximum allowed value for the time interval.

适用于