PowerTools InputMan for ASP.NET 8.0J
減算演算子(DateTimeEx,TimeSpan) オペレータ

減算対象の値 (GrapeCity.Web.Input.Core.DateTimeEx 型)
減算する値 (System.TimeSpan 型)
指定したDateTimeExから指定した時間間隔を減算して、新しい日付と時刻を作成します。
構文
Overloads Public Operator -( _
   ByVal d As DateTimeEx, _
   ByVal t As TimeSpan _
) As DateTimeEx
public DateTimeEx operator -( 
   DateTimeEx d,
   TimeSpan t
)

パラメータ

d
減算対象の値 (GrapeCity.Web.Input.Core.DateTimeEx 型)
t
減算する値 (System.TimeSpan 型)

戻り値の型

dからtを減算した値。
例外
例外解説
System.ArgumentNullExceptiondまたはtにnull(Visual BasicではNothing)が設定されています。
参照

DateTimeEx クラス
DateTimeEx メンバ
オーバーロード一覧

 

 


© 2005-2015 GrapeCity inc. All rights reserved.