YearMonthDuration.ToString MethodYearMonthDuration.ToString MethodYearMonthDuration::ToString Method

Returns the canonical lexical representation of this YearMonthDurationYearMonthDurationYearMonthDuration.

Syntax

Public Overrides Function ToString() As String
public override string ToString()
public:
virtual String^ ToString() override
 

Return Value

Type: System.StringSystem.StringSystem::String^

The canonical lexical representation of this YearMonthDurationYearMonthDurationYearMonthDuration.