-
Notifications
You must be signed in to change notification settings - Fork 18
/
AutoFormatRule.xml
52 lines (52 loc) · 4.08 KB
/
AutoFormatRule.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
<Type Name="AutoFormatRule" FullName="Microsoft.Office.Interop.Outlook.AutoFormatRule">
<TypeSignature Language="C#" Value="public interface AutoFormatRule : Microsoft.Office.Interop.Outlook._AutoFormatRule" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract AutoFormatRule implements class Microsoft.Office.Interop.Outlook._AutoFormatRule" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.Outlook.AutoFormatRule" />
<TypeSignature Language="VB.NET" Value="Public Interface AutoFormatRule
Implements _AutoFormatRule" />
<TypeSignature Language="C++ CLI" Value="public interface class AutoFormatRule : Microsoft::Office::Interop::Outlook::_AutoFormatRule" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.Outlook</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Interop.Outlook._AutoFormatRule</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Interop.Outlook.AutoFormatRuleClass))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("00063093-0000-0000-C000-000000000046")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a formatting rule used by a object to determine how to format Microsoft Outlook items displayed within that view.</summary>
<remarks>
<para>This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see <see cref="T:Microsoft.Office.Interop.Outlook._AutoFormatRule" />.</para>
<para>Use the <see cref="M:Microsoft.Office.Interop.Outlook._AutoFormatRules.Add(System.String)" /> method or the <see cref="M:Microsoft.Office.Interop.Outlook._AutoFormatRules.Insert(System.String,System.Object)" /> method of the <see cref="T:Microsoft.Office.Interop.Outlook.AutoFormatRules" /> collection to create a new formatting rule for the following objects:</para>
<list type="bullet">
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.CalendarView" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.CardView" />
</para>
</item>
<item>
<para>
<see cref="T:Microsoft.Office.Interop.Outlook.TableView" />
</para>
</item>
</list>
<para>Outlook provides a set of built-in formatting rules that can be disabled but cannot be removed or reordered. Custom formatting rules, defined either programmatically or by user action, cannot be moved above or between built-in formatting rules. Use the <see cref="P:Microsoft.Office.Interop.Outlook._AutoFormatRule.Standard" /> property to determine whether a formatting rule is built-in or custom.</para>
<para>Formatting rules are checked and applied against each Outlook item, in the order in which they are contained within the <b>AutoFormatRules</b> collection. Use the <see cref="P:Microsoft.Office.Interop.Outlook._AutoFormatRule.Enabled" /> property to enable or disable a formatting rule, the <see cref="P:Microsoft.Office.Interop.Outlook._AutoFormatRule.Filter" /> property to define the conditions an Outlook item must meet to be formatted by the formatting rule, and the <see cref="P:Microsoft.Office.Interop.Outlook._AutoFormatRule.Font" /> property to specify the format to be applied by the formatting rule.</para>
<para />
</remarks>
</Docs>
<Members />
</Type>