Document.GetCrossReferenceItems Method (Object)

 

Gets an array of items that can be cross-referenced based on the specified cross-reference type.

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

object GetCrossReferenceItems(
	ref object ReferenceType
)

Parameters

ReferenceType
Type: System.Object

One of the T:Microsoft.Office.Interop.Word.WdReferenceType values that specifies the type of item you want to insert a cross-reference to.

Return Value

Type: System.Object

An array of items that can be cross-referenced based on the specified cross-reference type.

The array corresponds to the items listed in the For which box in the Cross-reference dialog box.

An item returned by this method can be used as the ReferenceWhich argument for the InsertCrossReference method.

Return to top
Show: