Document.GetCrossReferenceItems(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an array of items that can be cross-referenced based on the specified cross-reference type.
public:
System::Object ^ GetCrossReferenceItems(System::Object ^ % ReferenceType);
public object GetCrossReferenceItems (ref object ReferenceType);
abstract member GetCrossReferenceItems : obj -> obj
Public Function GetCrossReferenceItems (ByRef ReferenceType As Object) As Object
Parameters
- ReferenceType
- Object
One of the WdReferenceType values that specifies the type of item you want to insert a cross-reference to.
Returns
An array of items that can be cross-referenced based on the specified cross-reference type.
Remarks
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.