-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
SoapDuration.xml
180 lines (165 loc) · 11 KB
/
SoapDuration.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<Type Name="SoapDuration" FullName="System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration">
<TypeSignature Language="C#" Value="public sealed class SoapDuration" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit SoapDuration extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class SoapDuration" />
<TypeSignature Language="F#" Value="type SoapDuration = class" />
<TypeSignature Language="C++ CLI" Value="public ref class SoapDuration sealed" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(true)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides static methods for the serialization and deserialization of <see cref="T:System.TimeSpan" /> to a string that is formatted as XSD <see langword="duration" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about XSD data types, see the [XML Data Types Reference](https://learn.microsoft.com/previous-versions/dotnet/netframework-4.0/ms256131(v=vs.100)).
## Examples
The following code example shows how to use the methods in the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration> class to convert between a <xref:System.TimeSpan> object and an XSD `duration` string.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration/CPP/demo.cpp" id="Snippet10":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDuration/Overview/demo.cs" id="Snippet10":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SoapDuration ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 SoapDuration();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Creates an instance of <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public static TimeSpan Parse (string value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.TimeSpan Parse(string value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.Parse(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Parse (value As String) As TimeSpan" />
<MemberSignature Language="F#" Value="static member Parse : string -> TimeSpan" Usage="System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.Parse value" />
<MemberSignature Language="C++ CLI" Value="public:
 static TimeSpan Parse(System::String ^ value);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.TimeSpan</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<param name="value">The <see cref="T:System.String" /> to convert.</param>
<summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.TimeSpan" /> object.</summary>
<returns>A <see cref="T:System.TimeSpan" /> object that is obtained from <paramref name="value" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to use the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.Parse%2A> method. This code example is part of a larger example that is provided for the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration> class.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration/CPP/demo.cpp" id="Snippet11":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDuration/Overview/demo.cs" id="Snippet11":::
]]></format>
</remarks>
<exception cref="T:System.Runtime.Remoting.RemotingException">
<paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns.</exception>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public static string ToString (TimeSpan timeSpan);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string ToString(valuetype System.TimeSpan timeSpan) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.ToString(System.TimeSpan)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function ToString (timeSpan As TimeSpan) As String" />
<MemberSignature Language="F#" Value="static member ToString : TimeSpan -> string" Usage="System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.ToString timeSpan" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ ToString(TimeSpan timeSpan);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Security.SecuritySafeCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecuritySafeCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="timeSpan" Type="System.TimeSpan" />
</Parameters>
<Docs>
<param name="timeSpan">The <see cref="T:System.TimeSpan" /> object to convert.</param>
<summary>Returns the specified <see cref="T:System.TimeSpan" /> object as a <see cref="T:System.String" />.</summary>
<returns>A <see cref="T:System.String" /> representation of <paramref name="timeSpan" /> in the format "PxxYxxDTxxHxxMxx.xxxS" or "PxxYxxDTxxHxxMxxS". The "PxxYxxDTxxHxxMxx.xxxS" is used if <see cref="P:System.TimeSpan.Milliseconds" /> does not equal zero.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to use the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.ToString%2A> method. This code example is part of a larger example that is provided for the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration> class.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration/CPP/demo.cpp" id="Snippet12":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDuration/Overview/demo.cs" id="Snippet12":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="XsdType">
<MemberSignature Language="C#" Value="public static string XsdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property string XsdType" />
<MemberSignature Language="DocId" Value="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.XsdType" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property XsdType As String" />
<MemberSignature Language="F#" Value="static member XsdType : string" Usage="System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.XsdType" />
<MemberSignature Language="C++ CLI" Value="public:
 static property System::String ^ XsdType { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
<value>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to use the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration.XsdType%2A> property. This code example is part of a larger example that is provided for the <xref:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration> class.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDuration/CPP/demo.cpp" id="Snippet13":::
:::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDuration/Overview/demo.cs" id="Snippet13":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>