다음을 통해 공유


SoapTime.Value 속성

정의

현재 인스턴스의 날짜와 시간을 가져오거나 설정합니다.

public:
 property DateTime Value { DateTime get(); void set(DateTime value); };
public DateTime Value { get; set; }
member this.Value : DateTime with get, set
Public Property Value As DateTime

속성 값

현재 인스턴스의 날짜와 시간이 포함된 DateTime 개체입니다.

예제

다음 코드 예제에는이 속성을 사용 하는 방법을 보여 줍니다. 이 코드 예제는 제공 된 큰 예제의 일부는 SoapTime 클래스입니다.

// Display the value of the SoapTime object.
Console::WriteLine( "The value of the SoapTime instance is {0}.",
   time->Value );
// Display the value of the SoapTime object.
Console.WriteLine("The value of the SoapTime object is {0}.",
    time.Value);

적용 대상