public static TimeSpan RoundTo(
this TimeSpan timeSpan,
TimeSpanExtensionsRoundingUnit roundingUnit
)Dim timeSpan As TimeSpan
Dim roundingUnit As TimeSpanExtensionsRoundingUnit
Dim returnValue As TimeSpan
returnValue = timeSpan.RoundTo(roundingUnit)public:
[ExtensionAttribute]
static TimeSpan RoundTo(
TimeSpan timeSpan,
TimeSpanExtensionsRoundingUnit roundingUnit
)No code example is currently available or this language may not be supported.