-
Notifications
You must be signed in to change notification settings - Fork 7
/
Date.xml
91 lines (91 loc) · 4.73 KB
/
Date.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
<Type Name="Date" FullName="Microsoft.Office.Interop.InfoPath.Date">
<TypeSignature Language="C#" Value="public interface Date" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract Date" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.Date" />
<TypeSignature Language="VB.NET" Value="Public Interface Date" />
<TypeSignature Language="C++ CLI" Value="public interface class Date" />
<TypeSignature Language="F#" Value="type Date = interface" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096CD6A3-0786-11D1-95FA-0080C78EE3BB")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.TypeLibType(4288)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, see<see cref="T:Microsoft.Office.Interop.InfoPath.DateObject" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Now">
<MemberSignature Language="C#" Value="public object Now ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Now() runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.Date.Now" />
<MemberSignature Language="VB.NET" Value="Public Function Now () As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Now();" />
<MemberSignature Language="F#" Value="abstract member Now : unit -> obj" Usage="date.Now " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets the current system date and time in ISO format (YYYY-MM-DDThh:mm:ss).</summary>
<returns>An <b>object</b> that represents the current date and time.</returns>
<remarks>To be added.</remarks>
<example>
<para>In the following example, the variable <paramref name="currentDateTime" /> is set to the current system date and time:</para>
<code>object currentDateTime = thisXDocument.Util.Date.<span class="label">Now</span>();
thisXDocument.UI.Alert(currentDateTime.ToString());</code>
</example>
</Docs>
</Member>
<Member MemberName="Today">
<MemberSignature Language="C#" Value="public object Today ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Today() runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.Date.Today" />
<MemberSignature Language="VB.NET" Value="Public Function Today () As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Today();" />
<MemberSignature Language="F#" Value="abstract member Today : unit -> obj" Usage="date.Today " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(2)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets the current system date in ISO format (YYYY-MM-DD).</summary>
<returns>An <b>object</b> that represents the current date.</returns>
<remarks>To be added.</remarks>
<example>
<para>In the following example, the variable <paramref name="currentDate" /> is set to the current system date.</para>
<code>object currentDate = thisXDocument.Util.Date.<span class="label">Today</span>();
thisXDocument.UI.Alert(currentDate.ToString());</code>
</example>
</Docs>
</Member>
</Members>
</Type>