Duration(TimeSpan) 생성자

정의

제공된 Duration 값을 사용하여 구조체의 TimeSpan 새 인스턴스를 초기화합니다.

public:
 Duration(TimeSpan timeSpan);
public Duration(TimeSpan timeSpan);
new System.Windows.Duration : TimeSpan -> System.Windows.Duration
Public Sub New (timeSpan As TimeSpan)

매개 변수

timeSpan
TimeSpan

이 기간의 초기 시간 간격을 나타냅니다.

예외

음수 값으로 초기화될 때 timeSpan 발생합니다.

적용 대상