TablesOfAuthorities.MarkCitation Method

Inserts a TA (Table of Authorities Entry) field and returns the field as a Field object.

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

Syntax

'Declaration
Function MarkCitation ( _
    Range As Range, _
    ShortCitation As String, _
    ByRef LongCitation As Object, _
    ByRef LongCitationAutoText As Object, _
    ByRef Category As Object _
) As Field
'Usage
Dim instance As TablesOfAuthorities
Dim Range As Range
Dim ShortCitation As String
Dim LongCitation As Object
Dim LongCitationAutoText As Object
Dim Category As Object
Dim returnValue As Field

returnValue = instance.MarkCitation(Range, _
    ShortCitation, LongCitation, LongCitationAutoText, _
    Category)
Field MarkCitation(
    Range Range,
    string ShortCitation,
    ref Object LongCitation,
    ref Object LongCitationAutoText,
    ref Object Category
)

Parameters

  • ShortCitation
    Type: System.String
    Required String. The short citation for the entry as it will appear in the Mark Citation dialog box (Insert menu, Index and Tables command).
  • LongCitation
    Type: System.Object%
    Optional Object. The long citation for the entry as it will appear in the table of authorities.
  • LongCitationAutoText
    Type: System.Object%
    Optional Object. The name of the AutoText entry that contains the text of the long citation as it will appear in the table of authorities.
  • Category
    Type: System.Object%
    Optional Object. The category number to be associated with the entry: 1 corresponds to the first category in the Category box in the Mark Citation dialog box, 2 corresponds to the second category, and so on.

Return Value

Type: Microsoft.Office.Interop.Word.Field

See Also

Reference

TablesOfAuthorities Interface

TablesOfAuthorities Members

Microsoft.Office.Interop.Word Namespace