Edit

Share via


ModelRelationships Interface

Definition

This collection contains all relationships currently between data tables in the data model of Excel 2013.

public interface class ModelRelationships : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000244DA-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ModelRelationships : System.Collections.IEnumerable
Public Interface ModelRelationships
Implements IEnumerable
Attributes
Implements

Properties

_Default[Object]
Application

Returns an Application object that represents the Excel application. Read-only.

Count

Returns an Integer (int in C#) value that represents the number of ModelRelationship objects in a ModelRelationships collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer (int in C#).

Parent

Returns an Object (object in C#) that represents the parent object of the specified ModelRelationships object. Read-only.

Methods

Add(ModelTableColumn, ModelTableColumn)

Adds a new relationship to the model.

GetEnumerator()
Item(Object)

Returns a single object from the ModelRelationships object.

Applies to