Partager via


_LetterContent.RecipientGender Property

Returns or sets the recipient's gender, if known. Not used in the U.S. English version of Microsoft Word.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property RecipientGender As WdSalutationGender
    Get
    Set
'Usage
Dim instance As _LetterContent
Dim value As WdSalutationGender

value = instance.RecipientGender

instance.RecipientGender = value
WdSalutationGender RecipientGender { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdSalutationGender

Remarks

The RecipientGender property can be one of the WdSalutationGender constants. This property may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

See Also

Reference

_LetterContent Interface

_LetterContent Members

Microsoft.Office.Interop.Word Namespace