Duration.Addition(Duration, Duration) 연산자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
두 인스턴스를 함께 추가합니다 Duration .
public:
static System::Windows::Duration operator +(System::Windows::Duration t1, System::Windows::Duration t2);
public static System.Windows.Duration operator +(System.Windows.Duration t1, System.Windows.Duration t2);
static member ( + ) : System.Windows.Duration * System.Windows.Duration -> System.Windows.Duration
Public Shared Operator + (t1 As Duration, t2 As Duration) As Duration
매개 변수
반품
두 인스턴스에 Duration 모두 값이 있으면 TimeSpan 이 메서드는 두 값의 합계를 반환합니다. 두 값 중 하나를 설정 Automatic하면 메서드가 반환됩니다 Automatic. 두 값 중 하나를 설정 Forever하면 메서드가 반환됩니다 Forever.
값이 없거나 t1t2 없는 경우 이 메서드는 .를 반환합니다 null.
설명
이 연산자에 해당하는 메서드는 다음과 같습니다. Duration.Add(Duration)