EmailSignatureEntries.Add Method
Returns an EmailSignatureEntry object that represents a new e-mail signature entry.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Add ( _
Name As String, _
Range As Range _
) As EmailSignatureEntry
'Usage
Dim instance As EmailSignatureEntries
Dim Name As String
Dim Range As Range
Dim returnValue As EmailSignatureEntry
returnValue = instance.Add(Name, Range)
EmailSignatureEntry Add(
string Name,
Range Range
)
Parameters
- Name
Type: System.String
Required String. The name of the e-mail entry.
- Range
Type: Microsoft.Office.Interop.Word.Range
Required Range object. The range in the document that will be added as the signature.
Return Value
Type: Microsoft.Office.Interop.Word.EmailSignatureEntry
Remarks
An e-mail signature is standard text that ends an e-mail message, such as your name and telephone number. Use the EmailSignatureEntries property to create and manage a collection of e-mail signatures that Microsoft Word will use when creating e-mail messages.