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)

Usage

Dim Name As String
Dim Range As Range
Dim returnValue As EmailSignatureEntry
Dim emailSignatureEntries1 As EmailSignatureEntries
returnValue = emailSignatureEntries1.Add(Name, Range)

Syntax

Function Add( _
    <InAttribute()> ByVal Name As String, _
    <InAttribute()> ByVal Range As Range _
) As EmailSignatureEntry
EmailSignatureEntry Add(
    [In] string Name, 
    [In] Range Range
);
public: EmailSignatureEntry^ Add(
    String^ Name, 
    Range^ Range
);
public EmailSignatureEntry Add(
    /*in*/System.String Name, 
    /*in*/Range Range
);
function Add(
     Name : String, 
     Range : Range
) : EmailSignatureEntry;

Parameters

  • Name
    Required String. The name of the e-mail entry.
  • Range
    Required Range object. The range in the document that will be added as the signature.

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.

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

EmailSignatureEntries Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

EmailSignatureEntries Members