Edytuj

Udostępnij za pośrednictwem


TablesOfAuthorities.MarkCitation Method

Definition

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

public Microsoft.Office.Interop.Word.Field MarkCitation (Microsoft.Office.Interop.Word.Range Range, string ShortCitation, ref object LongCitation, ref object LongCitationAutoText, ref object Category);
abstract member MarkCitation : Microsoft.Office.Interop.Word.Range * string * obj * obj * obj -> Microsoft.Office.Interop.Word.Field
Public Function MarkCitation (Range As Range, ShortCitation As String, Optional ByRef LongCitation As Object, Optional ByRef LongCitationAutoText As Object, Optional ByRef Category As Object) As Field

Parameters

Range
Range

Required Range object. The location of the table of authorities entry. The TA field is inserted after Range.

ShortCitation
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
Object

Optional Object. The long citation for the entry as it will appear in the table of authorities.

LongCitationAutoText
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
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.

Returns

Applies to