Cette documentation est archivée et n’est pas conservée.

Field.Kind Property

Returns the type of link for a Field object.

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

'Utilisation
Dim field1 As Field

Dim returnValue As WdFieldKind
returnValue = field1.Kind

WdFieldKind Kind {get;}
public WdFieldKind get_Kind();
function get Kind() : WdFieldKind;

Can be one of the following WdFieldKind constants:

wdFieldKindCold A field that doesn't have a result, for example, an Index Entry (XE), Table of Contents Entry (TC), or Private field.

wdFieldKindHot A field that's automatically updated each time it's displayed or each time the page is reformatted, but which can also be manually updated (for example, INCLUDEPICTURE or FORMDROPDOWN).

wdFieldKindNone An invalid field (for example, a pair of field characters with nothing inside).

wdFieldKindWarm A field that can be updated and has a result. This type includes fields that are automatically updated when the source changes as well as fields that can be manually updated (for example, DATE or INCLUDETEXT).


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

Development Platforms

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

Target Platforms

Afficher: