다음을 통해 공유


SoapDate.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 개체입니다.

예제

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

// Print out the value of the SoapDate object.
Console::WriteLine( "The value of the SoapDate instance is {0}.",
   date->Value );
// Print the value of the SoapDate object.
Console.WriteLine("The value of the SoapDate object is {0}.",
    date.Value);

적용 대상