Duration.Implicit(TimeSpan to Duration) 연산자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
public:
static operator System::Windows::Duration(TimeSpan timeSpan);
public static implicit operator System.Windows.Duration(TimeSpan timeSpan);
static member op_Implicit : TimeSpan -> System.Windows.Duration
Public Shared Widening Operator CType (timeSpan As TimeSpan) As Duration
매개 변수
반품
의 새 인스턴스입니다 Duration.
예외
음수일 때 TimeSpan 발생합니다.
설명
이 연산자에 해당하는 메서드는 다음과 같습니다. Duration.Duration(TimeSpan)