Duration.Compare(Duration, Duration) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
한 Duration 값을 다른 값과 비교합니다.
public:
static int Compare(System::Windows::Duration t1, System::Windows::Duration t2);
public static int Compare(System.Windows.Duration t1, System.Windows.Duration t2);
static member Compare : System.Windows.Duration * System.Windows.Duration -> int
Public Shared Function Compare (t1 As Duration, t2 As Duration) As Integer
매개 변수
반품
보다 t1작으면 t2 차이를 나타내는 음수 값입니다. 같t1으면 t2 0입니다. 보다 t1크면 t2 차이를 나타내는 양수 값입니다.
설명
Duration 속성 값 Automatic 이 있는 인스턴스는 다음과 같은 반환 값이 있는 특수한 경우입니다.
t1자동이고t2그렇지 않으면 -1 반환됩니다.자동이고
t1자동인 경우t20이 반환됩니다.자동이 아니고
t1자동이면t21이 반환됩니다.