DocumentClass.Compatibility Property 

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim documentClass1 As DocumentClass

Dim key As WdCompatibility
Dim returnValue As Boolean
returnValue = documentClass1.Compatibility(key)

Dim sampleValue As Boolean
documentClass1.Compatibility(key) = sampleValue

Syntax

Public Overridable Property Compatibility( _
    <InAttribute()> ByVal Type As WdCompatibility _
) As Boolean
public virtual bool this[
    [In] WdCompatibility Type
] {get; set;}
public: property Boolean Compatibility{
    Boolean get();
    Void set(Boolean);
}
public boolean get_Item(
    /*in*/WdCompatibility Type
);
public void set_Item(
    /*in*/WdCompatibility Type
boolean);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • Type
    This parameter is intended for internal use only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

DocumentClass Class
Microsoft.Office.Interop.Word Namespace

Other Resources

DocumentClass Members