-
Notifications
You must be signed in to change notification settings - Fork 12
/
Templates.xml
268 lines (268 loc) · 15.8 KB
/
Templates.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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<Type Name="Templates" FullName="Microsoft.Office.Interop.Word.Templates">
<TypeSignature Language="C#" Value="public interface Templates : System.Collections.IEnumerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract Templates implements class System.Collections.IEnumerable" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.Word.Templates" />
<TypeSignature Language="VB.NET" Value="Public Interface Templates
Implements IEnumerable" />
<TypeSignature Language="C++ CLI" Value="public interface class Templates : System::Collections::IEnumerable" />
<TypeSignature Language="F#" Value="type Templates = interface
 interface IEnumerable" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("000209A2-0000-0000-C000-000000000046")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.TypeLibType(4288)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A collection of <see cref="T:Microsoft.Office.Interop.Word.Template" /> objects that represent all the templates that are currently available.</summary>
<remarks>
<para>This collection includes open templates, templates attached to open documents, and global templates loaded in the Templates and Add-ins dialog box (Tools menu).</para>
<para>Use the <see cref="P:Microsoft.Office.Interop.Word._Application.Templates" /> property to return the <b>Templates</b> collection.</para>
<para>The <b>Add</b> method isn't available for the <b>Templates</b> collection. Instead, you can add a template to the <b>Templates</b> collection by doing any of the following:</para>
<list type="bullet">
<item>
<para>Using the <see cref="M:Microsoft.Office.Interop.Word.Documents.Open(System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@,System.Object@)" /> method with the <see cref="T:Microsoft.Office.Interop.Word.Documents" /> collection to open a document based on a template or a template.</para>
</item>
<item>
<para>Using the <see cref="M:Microsoft.Office.Interop.Word.Documents.Add(System.Object@,System.Object@,System.Object@,System.Object@)" /> method with the <b>Documents</b> collection to open a new document based on a template.</para>
</item>
<item>
<para>Using the <see cref="M:Microsoft.Office.Interop.Word.AddIns.Add(System.String,System.Object@)" /> method with the <see cref="T:Microsoft.Office.Interop.Word.AddIns" /> collection to load a global template.</para>
</item>
<item>
<para>Using the <see cref="P:Microsoft.Office.Interop.Word._Document.AttachedTemplate" /> property with the <b>Document</b> object to attach a template to a document.</para>
</item>
</list>
<para>Use <b>Templates</b>(<paramref name="index" />), where <paramref name="index" /> is the template name or the index number, to return a single <b>Template</b> object The index number represents the position of the template in the <b>Templates</b> collection.</para>
<para>Use the <see cref="P:Microsoft.Office.Interop.Word._Application.NormalTemplate" /> property to return a template object that refers to the Normal template. Use the <see cref="P:Microsoft.Office.Interop.Word._Document.AttachedTemplate" /> property to return the template attached to the specified document.</para>
<para>Use the <see cref="P:Microsoft.Office.Interop.Word.Options.DefaultFilePath(Microsoft.Office.Interop.Word.WdDefaultFilePath)" /> property to determine the location of user or workgroup templates (that is, the folder where you want to store these templates).</para>
<para />
</remarks>
</Docs>
<Members>
<Member MemberName="Application">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.Word.Application Application { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.Word.Application Application" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.Word.Templates.Application" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Application As Application" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::Word::Application ^ Application { Microsoft::Office::Interop::Word::Application ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Application : Microsoft.Office.Interop.Word.Application" Usage="Microsoft.Office.Interop.Word.Templates.Application" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1000)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(1000)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.Word.Application</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns a <see cref="T:Microsoft.Office.Interop.Word.Application" /> object that represents the Microsoft Word application.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Count">
<MemberSignature Language="C#" Value="public int Count { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Count" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.Word.Templates.Count" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Count As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 property int Count { int get(); };" />
<MemberSignature Language="F#" Value="member this.Count : int" Usage="Microsoft.Office.Interop.Word.Templates.Count" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(1)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the number of items in the specified collection.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Creator">
<MemberSignature Language="C#" Value="public int Creator { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Creator" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.Word.Templates.Creator" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Creator As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 property int Creator { int get(); };" />
<MemberSignature Language="F#" Value="member this.Creator : int" Usage="Microsoft.Office.Interop.Word.Templates.Creator" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1001)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(1001)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns a 32-bit integer that indicates the application in which the specified object was created.</summary>
<value>To be added.</value>
<remarks>
<para>If the object was created in Microsoft Word, this property returns the hexadecimal number 4D535744, which represents the string "MSWD." This value can also be represented by the constant <b>wdCreatorCode</b>.</para>
<para>The <b>Creator</b> property was primarily designed to be used on the Macintosh, where each application has a four-character creator code. For example, Microsoft Word has the creator code MSWD. For additional information about this property, consult the language reference Help included with Microsoft Office Macintosh Edition.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="C#" Value="public System.Collections.IEnumerator GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IEnumerator GetEnumerator() runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.Word.Templates.GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Public Function GetEnumerator () As IEnumerator" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Collections::IEnumerator ^ GetEnumerator();" />
<MemberSignature Language="F#" Value="abstract member GetEnumerator : unit -> System.Collections.IEnumerator" Usage="templates.GetEnumerator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerable.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(-4)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.TypeLibFunc(1024)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.Word.Template this[ref object Index] { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.Word.Template Item(object)" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.Word.Templates.Item(System.Object@)" />
<MemberSignature Language="VB.NET" Value="Default Public ReadOnly Property Item(ByRef Index As Object) As Template" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::Word::Template ^ default[System::Object ^ %] { Microsoft::Office::Interop::Word::Template ^ get(System::Object ^ % Index); };" />
<MemberSignature Language="F#" Value="member this.Item(obj) : Microsoft.Office.Interop.Word.Template" Usage="Microsoft.Office.Interop.Word.Templates.Item" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(0)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(0)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.Word.Template</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="Index" Type="System.Object" RefType="ref" />
</Parameters>
<Docs>
<param name="Index">An <b>Object</b> indicating the ordinal position or a string representing the name of the individual object.</param>
<summary>Returns an individual object in a collection.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LoadBuildingBlocks">
<MemberSignature Language="C#" Value="public void LoadBuildingBlocks ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void LoadBuildingBlocks() runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.Word.Templates.LoadBuildingBlocks" />
<MemberSignature Language="VB.NET" Value="Public Sub LoadBuildingBlocks ()" />
<MemberSignature Language="C++ CLI" Value="public:
 void LoadBuildingBlocks();" />
<MemberSignature Language="F#" Value="abstract member LoadBuildingBlocks : unit -> unit" Usage="templates.LoadBuildingBlocks " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(100)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Loads the building blocks for all templates into Microsoft Office Word.</summary>
<remarks>
<para>Word normally loads building blocks when they are first needed, for example when a user displays a gallery by using the Ribbon. This method forces Word to immediately load all building blocks.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="Parent">
<MemberSignature Language="C#" Value="public object Parent { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance object Parent" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.Word.Templates.Parent" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Parent As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Object ^ Parent { System::Object ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Parent : obj" Usage="Microsoft.Office.Interop.Word.Templates.Parent" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Word</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1002)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(1002)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns an object that represents the parent object of the specified object.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>