Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
821 lines (769 sloc) 49.9 KB
<Type Name="Duration" FullName="System.Windows.Duration">
<TypeSignature Language="C#" Value="public struct Duration" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit Duration extends System.ValueType" />
<TypeSignature Language="DocId" Value="T:System.Windows.Duration" />
<TypeSignature Language="VB.NET" Value="Public Structure Duration" />
<TypeSignature Language="C++ CLI" Value="public value class Duration" />
<TypeSignature Language="F#" Value="type Duration = struct" />
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Windows.DurationConverter))</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents the duration of time that a <see cref="T:System.Windows.Media.Animation.Timeline" /> is active.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="xamlAttributeUsage_Duration"></a>
## XAML Attribute Usage
\<*object* *property*="[*days*.]*hours*:*minutes*:*seconds*[.*fractionalSeconds*]"/>
-or-
\<*object* *property*="[*days*.]*hours*:*minutes*"/>
-or-
\<*object* *property*="<xref:System.Windows.Duration.Automatic%2A>"/>
-or-
\<*object* *property*="<xref:System.Windows.Duration.Forever%2A>"/>
<a name="xamlValues_MinWidth"></a>
## XAML Values
*days*
<xref:System.Int32?displayProperty=nameWithType>
A value greater than or equal to 0 that describes the number of days spanned by this duration.
*hours*
<xref:System.Int32?displayProperty=nameWithType>
A value between 0 and 23 that represents the number of hours spanned by this duration.
*minutes*
<xref:System.Int32?displayProperty=nameWithType>
A value between 0 and 59 that represents the number of minutes spanned by this duration.
*seconds*
<xref:System.Int32?displayProperty=nameWithType>
A value between 0 and 59 that represents the number of seconds spanned by this duration
*fractionalSeconds*
<xref:System.Int32?displayProperty=nameWithType>
A value consisting of 1 to 7 digits that represents fractional seconds.
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159969">Animation Example Gallery</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Duration (TimeSpan timeSpan);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.TimeSpan timeSpan) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.#ctor(System.TimeSpan)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; Duration(TimeSpan timeSpan);" />
<MemberSignature Language="F#" Value="new System.Windows.Duration : TimeSpan -&gt; System.Windows.Duration" Usage="new System.Windows.Duration timeSpan" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="timeSpan" Type="System.TimeSpan" />
</Parameters>
<Docs>
<param name="timeSpan">Represents the initial time interval of this duration.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Duration" /> structure with the supplied <see cref="T:System.TimeSpan" /> value.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">Occurs when <paramref name="timeSpan" /> is initialized to a negative value.</exception>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public System.Windows.Duration Add (System.Windows.Duration duration);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Windows.Duration Add(valuetype System.Windows.Duration duration) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Add(System.Windows.Duration)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::Duration Add(System::Windows::Duration duration);" />
<MemberSignature Language="F#" Value="member this.Add : System.Windows.Duration -&gt; System.Windows.Duration" Usage="duration.Add duration" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="duration" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="duration">An instance of <see cref="T:System.Windows.Duration" /> that represents the value of the current instance plus <paramref name="duration" />.</param>
<summary>Adds the value of the specified instance of <see cref="T:System.Windows.Duration" /> to the value of the current instance.</summary>
<returns>If both instances of <see cref="T:System.Windows.Duration" /> have values, an instance of <see cref="T:System.Windows.Duration" /> that represents the combined values. Otherwise this method returns <see langword="null" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Automatic">
<MemberSignature Language="C#" Value="public static System.Windows.Duration Automatic { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype System.Windows.Duration Automatic" />
<MemberSignature Language="DocId" Value="P:System.Windows.Duration.Automatic" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property Automatic As Duration" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static property System::Windows::Duration Automatic { System::Windows::Duration get(); };" />
<MemberSignature Language="F#" Value="member this.Automatic : System.Windows.Duration" Usage="System.Windows.Duration.Automatic" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a <see cref="T:System.Windows.Duration" /> value that is automatically determined.</summary>
<value>A <see cref="T:System.Windows.Duration" /> initialized to an automatic value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="xamlAttributeUsage_Automatic"></a>
## XAML Attribute Usage
```
<object property="Automatic" />
```
<a name="xamlValues_Automatic"></a>
## XAML Values
*property*
A property that accepts a <xref:System.Windows.Duration> value.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Compare">
<MemberSignature Language="C#" Value="public static int Compare (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 Compare(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Compare(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Compare (t1 As Duration, t2 As Duration) As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static int Compare(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member Compare : System.Windows.Duration * System.Windows.Duration -&gt; int" Usage="System.Windows.Duration.Compare (t1, t2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Compares one <see cref="T:System.Windows.Duration" /> value to another.</summary>
<returns>If <paramref name="t1" /> is less than <paramref name="t2" />, a negative value that represents the difference. If <paramref name="t1" /> is equal to <paramref name="t2" />, zero. If <paramref name="t1" /> is greater than <paramref name="t2" />, a positive value that represents the difference.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Duration> instances with a property value of <xref:System.Windows.Duration.Automatic%2A> are a special case with the following return values.
- If `t1` is Automatic and `t2` is not, -1 is returned.
- If `t1` is Automatic and `t2` is also Automatic, 0 is returned.
- If `t1` is not Automatic and `t2` is Automatic, 1 is returned.
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Equals">
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Indicates whether a specified object is equal to an instance of <see cref="T:System.Windows.Duration" />.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (value As Object) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override bool Equals(System::Object ^ value);" />
<MemberSignature Language="F#" Value="override this.Equals : obj -&gt; bool" Usage="duration.Equals value" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="value">Object to check for equality.</param>
<summary>Determines whether a specified object is equal to an instance of <see cref="T:System.Windows.Duration" />.</summary>
<returns>
<see langword="true" /> if value is equal to the current instance of Duration; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public bool Equals (System.Windows.Duration duration);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Equals(valuetype System.Windows.Duration duration) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Equals(System.Windows.Duration)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; bool Equals(System::Windows::Duration duration);" />
<MemberSignature Language="F#" Value="override this.Equals : System.Windows.Duration -&gt; bool" Usage="duration.Equals duration" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="duration" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="duration">Instance of <see cref="T:System.Windows.Duration" /> to check for equality.</param>
<summary>Determines whether a specified <see cref="T:System.Windows.Duration" /> is equal to this instance of <see cref="T:System.Windows.Duration" />.</summary>
<returns>
<see langword="true" /> if <paramref name="duration" /> is equal to the current instance of <see cref="T:System.Windows.Duration" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public static bool Equals (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Equals(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Equals(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Equals (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool Equals(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member Equals : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="System.Windows.Duration.Equals (t1, t2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">First instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">Second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines whether two instances of <see cref="T:System.Windows.Duration" /> are equal.</summary>
<returns>
<see langword="true" /> if <paramref name="t1" /> is equal to <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Forever">
<MemberSignature Language="C#" Value="public static System.Windows.Duration Forever { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype System.Windows.Duration Forever" />
<MemberSignature Language="DocId" Value="P:System.Windows.Duration.Forever" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property Forever As Duration" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static property System::Windows::Duration Forever { System::Windows::Duration get(); };" />
<MemberSignature Language="F#" Value="member this.Forever : System.Windows.Duration" Usage="System.Windows.Duration.Forever" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a <see cref="T:System.Windows.Duration" /> value that represents an infinite interval.</summary>
<value>A <see cref="T:System.Windows.Duration" /> initialized to a forever value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="xamlAttributeUsage_Forever"></a>
## XAML Attribute Usage
```
<object property="Forever" />
```
<a name="xamlValues_Forever"></a>
## XAML Values
*property*
A property that accepts a <xref:System.Windows.Duration> value.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.GetHashCode" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetHashCode () As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override int GetHashCode();" />
<MemberSignature Language="F#" Value="override this.GetHashCode : unit -&gt; int" Usage="duration.GetHashCode " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets a hash code for this instance.</summary>
<returns>A signed 32-bit integer hash code.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HasTimeSpan">
<MemberSignature Language="C#" Value="public bool HasTimeSpan { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasTimeSpan" />
<MemberSignature Language="DocId" Value="P:System.Windows.Duration.HasTimeSpan" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property HasTimeSpan As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool HasTimeSpan { bool get(); };" />
<MemberSignature Language="F#" Value="member this.HasTimeSpan : bool" Usage="System.Windows.Duration.HasTimeSpan" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates if this <see cref="T:System.Windows.Duration" /> represents a <see cref="T:System.TimeSpan" /> value.</summary>
<value>True if this Duration is a <see cref="T:System.TimeSpan" /> value; otherwise, false.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="op_Addition">
<MemberSignature Language="C#" Value="public static System.Windows.Duration operator + (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Windows.Duration op_Addition(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_Addition(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator + (t1 As Duration, t2 As Duration) As Duration" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Duration operator +(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( + ) : System.Windows.Duration * System.Windows.Duration -&gt; System.Windows.Duration" Usage="t1 + t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to add.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to add.</param>
<summary>Adds two instances of <see cref="T:System.Windows.Duration" /> together.</summary>
<returns>If both instances of <see cref="T:System.Windows.Duration" /> have <see cref="T:System.TimeSpan" /> values, this method returns the sum of those two values. If either value is set to <see cref="P:System.Windows.Duration.Automatic" />, the method returns <see cref="P:System.Windows.Duration.Automatic" />. If either value is set to <see cref="P:System.Windows.Duration.Forever" />, the method returns <see cref="P:System.Windows.Duration.Forever" />.
If either <paramref name="t1" /> or <paramref name="t2" /> has no value, this method returns <see langword="null" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Windows.Duration.Add%28System.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Equality">
<MemberSignature Language="C#" Value="public static bool operator == (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_Equality(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator == (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator ==(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( = ) : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="t1 = t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines whether two instances of <see cref="T:System.Windows.Duration" /> are equal.</summary>
<returns>
<see langword="true" /> if both instances of <see cref="T:System.Windows.Duration" /> have values and are equal, or if both instances of <see cref="T:System.Windows.Duration" /> are <see langword="null" />. Otherwise, this method returns <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Windows.Duration.Equals%28System.Windows.Duration%2CSystem.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_GreaterThan">
<MemberSignature Language="C#" Value="public static bool operator &gt; (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_GreaterThan(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_GreaterThan(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator &gt; (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator &gt;(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( &gt; ) : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="t1 &gt; t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines if one instance of <see cref="T:System.Windows.Duration" /> is greater than another.</summary>
<returns>
<see langword="true" /> if both <paramref name="t1" /> and <paramref name="t2" /> have values and <paramref name="t1" /> is greater than <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Duration.Forever%2A> is considered greater than any finite value. Any comparison with an <xref:System.Windows.Duration.Automatic%2A> value returns `false`.
The equivalent method for this operator is <xref:System.Windows.Duration.Compare%28System.Windows.Duration%2CSystem.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_GreaterThanOrEqual">
<MemberSignature Language="C#" Value="public static bool operator &gt;= (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_GreaterThanOrEqual(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_GreaterThanOrEqual(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator &gt;= (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator &gt;=(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( &gt;= ) : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="t1 &gt;= t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines whether an instance of <see cref="T:System.Windows.Duration" /> is greater than or equal to another instance.</summary>
<returns>
<see langword="true" /> if both <paramref name="t1" /> and <paramref name="t2" /> have values and <paramref name="t1" /> is greater than or equal to <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Duration.Forever%2A> is considered greater than any finite value. Any comparison with an <xref:System.Windows.Duration.Automatic%2A> value returns `false`.
The equivalent method for this operator is <xref:System.Windows.Duration.Compare%28System.Windows.Duration%2CSystem.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Implicit">
<MemberSignature Language="C#" Value="public static implicit operator System.Windows.Duration (TimeSpan timeSpan);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Windows.Duration op_Implicit(valuetype System.TimeSpan timeSpan) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_Implicit(System.TimeSpan)~System.Windows.Duration" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static operator System::Windows::Duration(TimeSpan timeSpan);" />
<MemberSignature Language="F#" Value="static member op_Implicit : TimeSpan -&gt; System.Windows.Duration" Usage="System.Windows.Duration.op_Implicit timeSpan" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="timeSpan" Type="System.TimeSpan" />
</Parameters>
<Docs>
<param name="timeSpan">
<see cref="T:System.TimeSpan" /> from which an instance of <see cref="T:System.Windows.Duration" /> is implicitly created.</param>
<summary>Implicitly creates a <see cref="T:System.Windows.Duration" /> from a given <see cref="T:System.TimeSpan" />.</summary>
<returns>A new instance of <see cref="T:System.Windows.Duration" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Windows.Duration.%23ctor%28System.TimeSpan%29?displayProperty=nameWithType>]]></format>
</remarks>
<exception cref="T:System.ArgumentException">Occurs when <see cref="T:System.TimeSpan" /> is negative.</exception>
</Docs>
</Member>
<Member MemberName="op_Inequality">
<MemberSignature Language="C#" Value="public static bool operator != (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_Inequality(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator != (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator !=(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member op_Inequality : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="System.Windows.Duration.op_Inequality (t1, t2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines if two instances of <see cref="T:System.Windows.Duration" /> are not equal.</summary>
<returns>
<see langword="true" /> if exactly one of <paramref name="t1" /> or <paramref name="t2" /> represent a value, or if they both represent values that are not equal; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Windows.Duration.Compare%28System.Windows.Duration%2CSystem.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_LessThan">
<MemberSignature Language="C#" Value="public static bool operator &lt; (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_LessThan(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_LessThan(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator &lt; (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator &lt;(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( &lt; ) : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="t1 &lt; t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines if the value of one instance of <see cref="T:System.Windows.Duration" /> is less than the value of another instance.</summary>
<returns>
<see langword="true" /> if both <paramref name="t1" /> and <paramref name="t2" /> have values and <paramref name="t1" /> is less than <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Duration.Forever%2A> is considered greater than any finite value. Any comparison with an <xref:System.Windows.Duration.Automatic%2A> value returns `false`.
The equivalent method for this operator is <xref:System.Windows.Duration.Compare%28System.Windows.Duration%2CSystem.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_LessThanOrEqual">
<MemberSignature Language="C#" Value="public static bool operator &lt;= (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_LessThanOrEqual(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_LessThanOrEqual(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator &lt;= (t1 As Duration, t2 As Duration) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator &lt;=(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( &lt;= ) : System.Windows.Duration * System.Windows.Duration -&gt; bool" Usage="t1 &lt;= t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<param name="t2">The second instance of <see cref="T:System.Windows.Duration" /> to compare.</param>
<summary>Determines if the value of one instance of <see cref="T:System.Windows.Duration" /> is less than or equal to the value of another instance.</summary>
<returns>
<see langword="true" /> if both <paramref name="t1" /> and <paramref name="t2" /> have values and <paramref name="t1" /> is less than or equal to <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Duration.Forever%2A> is considered greater than any finite value. Any comparison with an <xref:System.Windows.Duration.Automatic%2A> value returns `false`.
The equivalent method for this operator is <xref:System.Windows.Duration.Compare%28System.Windows.Duration%2CSystem.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Subtraction">
<MemberSignature Language="C#" Value="public static System.Windows.Duration operator - (System.Windows.Duration t1, System.Windows.Duration t2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Windows.Duration op_Subtraction(valuetype System.Windows.Duration t1, valuetype System.Windows.Duration t2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_Subtraction(System.Windows.Duration,System.Windows.Duration)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator - (t1 As Duration, t2 As Duration) As Duration" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Duration operator -(System::Windows::Duration t1, System::Windows::Duration t2);" />
<MemberSignature Language="F#" Value="static member ( - ) : System.Windows.Duration * System.Windows.Duration -&gt; System.Windows.Duration" Usage="t1 - t2" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="t1" Type="System.Windows.Duration" />
<Parameter Name="t2" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="t1">The first instance of <see cref="T:System.Windows.Duration" />.</param>
<param name="t2">The instance of <see cref="T:System.Windows.Duration" /> to subtract.</param>
<summary>Subtracts the value of one instance of <see cref="T:System.Windows.Duration" /> from another.</summary>
<returns>If both instances of <see cref="T:System.Windows.Duration" /> have values, an instance of <see cref="T:System.Windows.Duration" /> that represents the value of <paramref name="t1" /> minus <paramref name="t2" />. If <paramref name="t1" /> has a value of <see cref="P:System.Windows.Duration.Forever" /> and <paramref name="t2" /> has a value of <see cref="P:System.Windows.Duration.TimeSpan" />, this method returns <see cref="P:System.Windows.Duration.Forever" />. Otherwise this method returns <see langword="null" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The following calculations all return a value of <xref:System.Windows.Duration.Automatic%2A>.
- <xref:System.Windows.Duration.Forever%2A> minus <xref:System.Windows.Duration.Forever%2A>.
- <xref:System.Windows.Duration.TimeSpan%2A> minus <xref:System.Windows.Duration.Forever%2A>.
- <xref:System.Windows.Duration.TimeSpan%2A> minus <xref:System.Windows.Duration.Automatic%2A>.
- <xref:System.Windows.Duration.Forever%2A> minus <xref:System.Windows.Duration.Automatic%2A>.
- <xref:System.Windows.Duration.Automatic%2A> minus <xref:System.Windows.Duration.Automatic%2A>.
- <xref:System.Windows.Duration.Automatic%2A> minus <xref:System.Windows.Duration.Forever%2A>.
- <xref:System.Windows.Duration.Automatic%2A> minus <xref:System.Windows.Duration.TimeSpan%2A>.
The equivalent method for this operator is <xref:System.Windows.Duration.Subtract%28System.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_UnaryPlus">
<MemberSignature Language="C#" Value="public static System.Windows.Duration operator + (System.Windows.Duration duration);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Windows.Duration op_UnaryPlus(valuetype System.Windows.Duration duration) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.op_UnaryPlus(System.Windows.Duration)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Duration operator +(System::Windows::Duration duration);" />
<MemberSignature Language="F#" Value="static member ( ~+ ) : System.Windows.Duration -&gt; System.Windows.Duration" Usage="+ duration" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="duration" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="duration">The instance of <see cref="T:System.Windows.Duration" /> to get.</param>
<summary>Returns the specified instance of <see cref="T:System.Windows.Duration" />.</summary>
<returns>An instance of <see cref="T:System.Windows.Duration" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Windows.Duration.Plus%28System.Windows.Duration%29?displayProperty=nameWithType>]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Plus">
<MemberSignature Language="C#" Value="public static System.Windows.Duration Plus (System.Windows.Duration duration);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Duration Plus(valuetype System.Windows.Duration duration) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Plus(System.Windows.Duration)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Duration Plus(System::Windows::Duration duration);" />
<MemberSignature Language="F#" Value="static member Plus : System.Windows.Duration -&gt; System.Windows.Duration" Usage="System.Windows.Duration.Plus duration" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="duration" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="duration">The instance of <see cref="T:System.Windows.Duration" /> to get.</param>
<summary>Returns the specified instance of <see cref="T:System.Windows.Duration" />.</summary>
<returns>An instance of <see cref="T:System.Windows.Duration" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Subtract">
<MemberSignature Language="C#" Value="public System.Windows.Duration Subtract (System.Windows.Duration duration);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Windows.Duration Subtract(valuetype System.Windows.Duration duration) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.Subtract(System.Windows.Duration)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::Duration Subtract(System::Windows::Duration duration);" />
<MemberSignature Language="F#" Value="member this.Subtract : System.Windows.Duration -&gt; System.Windows.Duration" Usage="duration.Subtract duration" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Duration</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="duration" Type="System.Windows.Duration" />
</Parameters>
<Docs>
<param name="duration">The instance of <see cref="T:System.Windows.Duration" /> to subtract from the current instance.</param>
<summary>Subtracts the value of the specified instance of <see cref="T:System.Windows.Duration" /> from this instance.</summary>
<returns>A new instance of <see cref="T:System.Windows.Duration" /> whose value is the result of this instance minus the value of <paramref name="duration" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TimeSpan">
<MemberSignature Language="C#" Value="public TimeSpan TimeSpan { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.TimeSpan TimeSpan" />
<MemberSignature Language="DocId" Value="P:System.Windows.Duration.TimeSpan" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property TimeSpan As TimeSpan" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property TimeSpan TimeSpan { TimeSpan get(); };" />
<MemberSignature Language="F#" Value="member this.TimeSpan : TimeSpan" Usage="System.Windows.Duration.TimeSpan" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.TimeSpan</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.TimeSpan" /> value that this <see cref="T:System.Windows.Duration" /> represents.</summary>
<value>The <see cref="T:System.TimeSpan" /> value that this <see cref="T:System.Windows.Duration" /> represents.</value>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">Occurs if <see cref="T:System.Windows.Duration" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Duration.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override System::String ^ ToString();" />
<MemberSignature Language="F#" Value="override this.ToString : unit -&gt; string" Usage="duration.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Converts an instance of <see cref="T:System.Windows.Duration" /> to a <see cref="T:System.String" /> representation.</summary>
<returns>A <see cref="T:System.String" /> representation of this instance of <see cref="T:System.Windows.Duration" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.