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이 음수 값으로 초기화되는 경우

적용 대상